Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions