Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am a college student taking an INTRODUCTORY Windows 10 Operating System SCRIPTING course and need some help with this script I created. I need
I am a college student taking an INTRODUCTORY Windows 10 Operating System SCRIPTING course and need some help with this script I created.
I need to have the script confirm that the file exists before the batch file hides the file.
If the file doesn't exist, the attrib command should not be executed.
How do I do this? The batch file accepts unlimited file names and I think I could use IF EXIST but not sure how to write the code.
Thanks.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started