Hi all !
i'm trying to execute a .exe file with argument.
the argument is "> out.txt" to redirect output to a simple textfile
i've tried both .exe and .bat file (executed manually works fine !)
my code is
it always return an empty out.txt file !Code:result = File.Run("AutoPlay\\pci32\\PCI32.bat", "",_DesktopFolder, SW_SHOWNORMAL, true); result = File.Run("AutoPlay\\pci32\\PCI32.exe", "-s > out.txt",_DesktopFolder, SW_SHOWNORMAL, true);![]()
also tried with Shell.Execute function with same problem...
thx anyway !
bye

