well then I realized that wouldn't work because erase is part of cmd.exe and not an actual program itself. I also tried executing cmd.exe and passing erase and the filename as a paramete... but alas to no avail... I can make a batch file and execute that.. but that's extremely un-monkly... any ideas?@args = ('erase ' , $filename); system(@args) || die "failed to delete";
In reply to Executing DOS shell commands via system() by Grygonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |