Answer the question
In order to leave comments, you need to log in
The del command under runas does not delete a file in the windows directory, how to get around?
There is a "del...blablabla" command, which should delete some files in the system directory (actually clear the print queue, the service has already been stopped, if that). Running it through runas user "del...blablabla" the command says that the required file was not found. If you run "runas user "cmd"" then in a new window the same command works fine. As I understand it, the first window launched as a user, and not as an administrator, does not yet see the system files and, accordingly, cannot delete them. How can this be implemented to delete these files with one line from the user?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question