0
votes
1answer
220 views

Why is my batch file doing nothing for 46 seconds before a forced quitting?

I have figured out what part of the code is doing this but dont know how to fix it... Here's the code: Set _Path=Private For /F "Delims=" %%I In ('Attrib "%_Path%"') Do Set _Attribs=%%I If ...
0
votes
7answers
4k views

Trying to hide a folder and unhide it in the same batch file with the attrib command

I am trying to hide a folder with a batch file, using the attrib command and I also want to unhide the file with the same batch file. can i do this as a single batch file? or do i have to call another ...