Question: I am a college student taking an INTRODUCTORY OS SCRIPTING (Windows 10) course and need some help with the batch file I am creating. The

I am a college student taking an INTRODUCTORY OS SCRIPTING (Windows 10) course and need some help with the batch file I am creating.

The batch file I created is able to let the user enter many file names (parameters) and let him hide files. I am using the attrib +h+s command and the shift command in order to loop.

My question is before hiding the file the batch file should confirm that the file exists. If the user enters many file names how would I do this?

Thanks.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!