Batch file for loop path
The problem: We want to loop through a file where either the name or path has a space in it. Why is this a problem? Generally in production environments though, we don't want end users to have to open up command prompts and type in test. Usually, we just ask them to drag the source file onto the batch file. If we do that with the above script, what will happen? Well, it's a bit of a lottery! Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Visit chat.
Linked 1. Related Hot Network Questions. But it should work just as well without the quotes. I wrote this to timestamp files before offloading to SFTP. Hope you find it useful. Eric Denny Eric Denny 11 2 2 bronze badges. The quotes around "results. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science.
Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings.
0コメント