Re: Exit code 2 when using the “del” command to delete/erase a remote file

BatchPatch Forums Home Forums Re: Exit code 2 when using the “del” command to delete/erase a remote file

#9618
doug
Moderator

“I tried to remote delete a file.

The file is in a directory within the program files directory and has the

extension .scr

Using del or erase fails with exit code 2.

I tried to also do a local command

del “\$computerc$program filesdirectoryfile.scr” /F /Q

and it also failed.”