Hi
I have a File object and the command
File: Run application "clean.bat" "hide"
My Bat file code to clean my folder is
But the DOS windows don't open in background...Code:@echo off
del *.txt
cls
exit
Can I do it?
Printable View
Hi
I have a File object and the command
File: Run application "clean.bat" "hide"
My Bat file code to clean my folder is
But the DOS windows don't open in background...Code:@echo off
del *.txt
cls
exit
Can I do it?
The "hide" checkbox is for hiding the parent application.
To hide the dos window from your app you'll have to use the kernel object, and I think there is some way to hide dos windows using a visual basic script.
I'd say the best way to do it is to just make your app do the cleaning itself without all the dos window hiding drama.