Get Printers Shared Names

Discussion in 'General Computer Support' started by tokidom, Sep 12, 2007.

  1. tokidom

    tokidom

    Joined:
    Sep 12, 2007
    Messages:
    1
    Likes Received:
    0
    I have a program that runs on Windows XP that list postscripts files in a directory and network printers and distribute file to printers in order to print them all.

    My program writes a .bat file and then executes it:

    copy file1.ps \\server\printer_shared_name_1
    copy file2.ps \\server\printer_shared_name_2
    ...
    copy filen.ps \\server\printer_shared_name_n

    Does anyone know how to get the network printers shared names in order to use then in the .bat file?

    Thanks.
     
    tokidom, Sep 12, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.