Sep 6, 2004 #1 Gravel Technical User Joined Dec 11, 2001 Messages 2 Location EU i'm trying to do an exec command to run "ipconfig /all > c:\1.txt", its fine doint the ipconfig /all but not the > c:\1.txt ... any help?
i'm trying to do an exec command to run "ipconfig /all > c:\1.txt", its fine doint the ipconfig /all but not the > c:\1.txt ... any help?
Dec 1, 2004 #2 dkdude Programmer Joined Jun 16, 2003 Messages 849 Location DK Try exec('ipconfig.exe', '>c:\1.txt'); Regards Jakob Upvote 0 Downvote
Dec 1, 2004 #3 dkdude Programmer Joined Jun 16, 2003 Messages 849 Location DK Sorry, That should have read: exec('ipconfig.exe', '/all > c:\1.txt'); c",) Jakob Upvote 0 Downvote