Hi friends, welcome to my ANKcom channel. If you didn't subscribe my channel yet then press RED Subscribe button now...
for getting latest update please press BELL icon...
let's understand what step we will take...
for saving the time, I already use written text here. All RED text are DOS command...
Let's understand the task of the DOS command. Here cls denotes
clear the screen if you run before
this file.
This Echo off denotes can't see whatever is doing behind. First of all give the title of the folder...
the name "print" is a folder name.
then its check the directory is exist or not
control ID shows the directory path..
if exist then jump to UNLOCK label, you can see here
if not exist then
create a folder with name "print"
jump to MDLOCKER label for creating a "print" folder
you can see here...
In the beginning, after execute the file...
you can use any name in place of CONFIRM label...
a prompt message is shown on the CMD screen for USER, what take a next step. Use set /p keyword for hold the screen till input by
user. User can input "Y"/"y" for insure yes. "cho=>" is a variable..
input by user hold the value in the "cho" variable and check with Y/y/n/N..
according the input its process the next step..
if condition is TRUE then jump to LOCK label..
Else goes to prompt "invalid choice"...
and if you put wrong then repeat CONFIRM label...
on the LOCK label, make a rename "print" folder and create in same directory as we gave before...
with time
If again run the program its check the condition...
folder is locked before then its jump to UNLOCK label
prompt this message
same as before
you can rename the folder name again
you can replace this blue text password with your text...
write this code on the NOTEPAD...
and save with name "locker.bat"
run the program then you can see, generate a "print" name folder
because none of the folder exist with name "print"
now make a print folder
then
run again
now no folder is created...
follow me
For more infomation >> Before You Code: Things Every Embedded Software Engineer Should Know - Duration: 35:47.
For more infomation >> VuPoint Magic Wand 4 Photo/Document Scanner w/Software ... - Duration: 13:42.
For more infomation >> Rezeptverwaltung Software RezeptAssist - Rezepte, Deklaration und Kalkulation in Einem - Duration: 2:12.
For more infomation >> VuPoint Magic Wand 4 Photo/Document Scanner w/Software ... - Duration: 15:11. 
Không có nhận xét nào:
Đăng nhận xét