Search found 24 matches
- 13 May 2016 14:51
- Forum: DOS Batch Forum
- Topic: Batch file cannot find .vbs script.
- Replies: 8
- Views: 7826
Re: Batch file cannot find .vbs script.
OK I ran this exact script @echo off dir "\\bh-miworks-srv2" pause dir "\\bh-miworks-srv2\PrintDrivers\Printers\Benton Harbor\Benton Harbor" pause dir "\\bh-miworks-srv2\PrintDrivers\Printers\Benton Harbor\Benton Harbor\*.vbs" pause This is the result The filename, dire...
- 13 May 2016 14:05
- Forum: DOS Batch Forum
- Topic: Batch file cannot find .vbs script.
- Replies: 8
- Views: 7826
Re: Batch file cannot find .vbs script.
I copied the script exactly I didn't type dir: I used the : as a way of organizing command from output, for readability for this fourm. then I just dident use : with the other commands in the replay.....its been a long day. It's an old habit, but I simply cut and copied the 3 lines and got the same ...
- 13 May 2016 09:06
- Forum: DOS Batch Forum
- Topic: Batch file cannot find .vbs script.
- Replies: 8
- Views: 7826
Re: Batch file cannot find .vbs script.
OK I ran your test and here is the result: dir: "\\-miworks-srv2" The filename, directory name, or volume label syntax is incorrect. dir "\\bh-miworks-srv2\PrintDrivers\Printers\Benton Harbor" Volume in drive \\bh-miworks-srv2\PrintDrivers is Data2 Volume Serial Number is 924F-3A...
- 11 May 2016 10:59
- Forum: DOS Batch Forum
- Topic: Batch file cannot find .vbs script.
- Replies: 8
- Views: 7826
Batch file cannot find .vbs script.
OK I have condensed my script down to one line. It calls a .vsb file that dose install a printer. My issues is when i run the .vbs script locally on my computer everything works and all is well. If I try to run this in a batch script calling the .vbs from a network folder location, (there are no res...
- 27 Apr 2016 12:08
- Forum: DOS Batch Forum
- Topic: Why are my arguments Invalid?
- Replies: 23
- Views: 36274
Re: Why are my arguments Invalid?
My Code cls @echo Copying Drivers to your Computer @echo This will take a moment @echo ************************************ MKDIR %temp%\deploy @echo. xcopy /Y "\\bh-miworks-srv2\PrintDrivers\Printing_Admin_Scripts\en-US" "%temp%\deploy" xcopy /Y "\\bh-miworks-srv2\PrintDriv...
- 21 Apr 2016 14:08
- Forum: DOS Batch Forum
- Topic: Why are my arguments Invalid?
- Replies: 23
- Views: 36274
Re: Why are my arguments Invalid?
Many Thanks PenPen! I will give your suggestions a shot.
You are correct I am in the US, Good to meet you.
You are correct I am in the US, Good to meet you.
- 20 Apr 2016 09:18
- Forum: DOS Batch Forum
- Topic: Why are my arguments Invalid?
- Replies: 23
- Views: 36274
Re: Why are my arguments Invalid?
Thanks Again Pen Pen I have decided to go with cscript option. cscript %WINDIR%\system32\prnport.vbs -a -r IP_192.168.141.20 -h 192.168.141.20 -o raw -n 9100 cscript %WINDIR%\system32\Prndrvr.vbs -a -m "Ricoh Aficio MP C6000 PS" -i \\bh-miworks-srv2\PrintDrivers\Drivers\Ricoh MP6501\Win 10...
- 19 Apr 2016 07:47
- Forum: DOS Batch Forum
- Topic: Why are my arguments Invalid?
- Replies: 23
- Views: 36274
Re: Why are my arguments Invalid?
Errors: Again the drivers and .vbs point to a location on the server so I don't know why its not working. I think an x-copy is my next step.
- 18 Apr 2016 11:18
- Forum: DOS Batch Forum
- Topic: Why are my arguments Invalid?
- Replies: 23
- Views: 36274
Re: Why are my arguments Invalid?
Update: I have eddied my script a bit and I know I have not done some of the suggestions to clean up the code, I do apologize for that. I am still going to to work on this. I know my drivers point to a server as dose the prnport.vbs. I am wondering if I need to xcopy these drivers and .vbs to the lo...
- 14 Apr 2016 22:26
- Forum: DOS Batch Forum
- Topic: Why are my arguments Invalid?
- Replies: 23
- Views: 36274
Re: Why are my arguments Invalid?
Ok: Thanks everyone for your help. I will try to run the script again so I can get an error code and update everyone on where it is failing out. I got a lot of great advice and will monkey around with the code as soon as i can. pen pen thanks for the suggestion. I will use your code for pinging the ...
- 13 Apr 2016 11:59
- Forum: DOS Batch Forum
- Topic: Why are my arguments Invalid?
- Replies: 23
- Views: 36274
Why are my arguments Invalid?
I am working on Version 2 of my Printer install script and everything works...on my Laptop. When I take this to another Laptop I get Arguments are Invalid Error. Anybody else get this? if it is working on my laptop than why not another under the same domain and on the same network? Here's what I got...
- 07 Mar 2016 06:53
- Forum: DOS Batch Forum
- Topic: Batch Script Errors Works on my laptop but not others
- Replies: 6
- Views: 6760
Re: Batch Script Errors Works on my laptop but not others
The message is still the same.
:The Arguments are Invalid
: Operation could not be completed (error 0x00000705)
Windows cannot locate a suitable printer driver. Contact your administrator for help locating and installing a suitable driver.
This is all under Windows 7
Thanks
:The Arguments are Invalid
: Operation could not be completed (error 0x00000705)
Windows cannot locate a suitable printer driver. Contact your administrator for help locating and installing a suitable driver.
This is all under Windows 7
Thanks
- 04 Mar 2016 15:39
- Forum: DOS Batch Forum
- Topic: Batch Script Errors Works on my laptop but not others
- Replies: 6
- Views: 6760
Re: Batch Script Errors Works on my laptop but not others
well the only thing i can get working is option 4 the exit command
thanks anyway, any more ideas ... i'm open to them.
thanks anyway, any more ideas ... i'm open to them.
- 04 Mar 2016 15:36
- Forum: DOS Batch Forum
- Topic: Batch Script Errors Works on my laptop but not others
- Replies: 6
- Views: 6760
Re: Batch Script Errors Works on my laptop but not others
I updated the paths, to cscript %WINDIR%\F:\Prnport.vbs on all printer installs, not working I am going to try kwsiebert's suggestion. Thanks I will let you know what happens
- 04 Mar 2016 14:59
- Forum: DOS Batch Forum
- Topic: Batch Script Errors Works on my laptop but not others
- Replies: 6
- Views: 6760
Batch Script Errors Works on my laptop but not others
IOk So I have my batch file which works great on my laptop. However when I try to run this thing from a flash drive, it gives me two errors, 1 argument is invalid error 2 Windows cannot locate suitable printer driver. The paths on which the printer drivers are located are correct. All PC's are on th...