Just to clarify: Both files are on the same computer. The code is just an example of how the Shell syntax that worked on my work computer does not work on my home computer. LJMetzger have tested the same code and got it to work on his computer with the same libraries that I have activated on my homecomputer, indicating that its not a problem with the syntax in it self and that the correct libraries are activated.

Quote Originally Posted by Solus Rankin View Post
Perhaps your program and .txt file are not in the same location on both computers.

Do c:\Windows\Write.exe and c:\Test.txt exist on the computer the shell command is not working on?