user10594468
user10594468

Reputation: 15

Cannot run command using cmd in Windows 10

I have one command line can run using cmd in windows 7 but cannot run in windows 10!(Also run as administrator in windows 10 but still no luck)

I have no idea why this situation will happen.

Below is the command line:

C:\Users\user>"C:/Program Files (x86)/Foxit Software/Foxit Reader/Foxit 
Reader/FoxitReader.exe" /t C:/wamp/www/temp/hah.pdf \\wk01\PrinterName

Expected output:

can print hah.pdf

Actual output:

I have pause the printer so I can see the print job in the print queue but no print job appear in the print queue(the small window that can see print job) when I run the FoxitReader command line.

Any help would be appreciate.

Upvotes: -2

Views: 567

Answers (1)

Steven Liang
Steven Liang

Reputation: 375

Try replacing

C:/wamp/www/temp/hah.pdf

with

C:\wamp\www\temp\hah.pdf

or

"C:/wamp/www/temp/hah.pdf"

if you prefer to use / (slash).

Upvotes: 0

Related Questions