09-08-2009 01:43 PM - edited 09-08-2009 01:48 PM
copy tmp.EJF \\T-STOMFG-11\LpLarge
using the last command int cmd works fine, but using the system exe.vi doesn't work
Were \\T-STOMFG-11\LpLarge is the printer address
09-08-2009 02:08 PM
lmontoya wrote:
copy tmp.EJF \\T-STOMFG-11\LpLarge
using the last command int cmd works fine, but using the system exe.vi doesn't work
Were \\T-STOMFG-11\LpLarge is the printer address
Message Edited by lmontoya on 09-08-2009 01:48 PM
What Windows version do you use? Did you at the cmd.exe to the front of the string that you sent to the System Exec? copy is an internal shell command so you need to start the command shell executable in order to execute the copy command. At least for Windows 2000/XP the command shell is cmd.exe. Not sure about Vista and/or Windows 7.
Rolf Kalbermatter
09-08-2009 03:51 PM
I have XP, but thank you anybody, I allready found the solution and it's next:
cmd.exe /c copy Temp.EJF \\T-STOMFG-11\LpSmall
I just add "/c" afther cmd.exe command
the printer must be shared