Jump to content

Delete a file multiple levels deep


This topic is 7242 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Greetings,

I would like to be able to delete a file using the dos command line. I can use the send message script and get it to work one level deep: Ex.

cmd /c DEL c:myfile.txt

But when I try to go multiple levels down I cannot get it to work EX.

cmd /c DEL c:Program FilesFileMakerFileMaker Pro 7Web logsmyfile.txt

How do I escape the empty spaces between the directory names?

Thank you for any assistance with this.

Joe Mele

Link to comment
Share on other sites

This topic is 7242 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.