Computer Hope

Microsoft => Microsoft DOS => Topic started by: veasnayim on July 24, 2014, 10:27:01 AM

Title: Write Command line to mapped network printer
Post by: veasnayim on July 24, 2014, 10:27:01 AM
Hello All,
Could you let me know that,
1-Can we write Command line to mapped network printer ?Could you let me know how?

2-I wrote a batch file to mapped network drive for folder and file like this:
Net use H: \\server\Acount

   -The result i will get mapped "account" and "H:" drive in windows explorer like this:
Account (\\abc\Account) (H:)
But i dont want to show the path like that, just only showing account folder and drive..

  - Also Can you show me that when i press my bath file containing by Net use H: \\Server\account, And after that, it will ask me do you want to mapped "Accounting" and i have option to press Yes or No"? and if i hit "No" , it's will proceed to the next line or what ever...

Thanks you so much and i am sorry for my english.
Best Regards,