what scripting language is this?

2013-10-29 12:22 pm
i saw this folder locker and i want to learn the language of it

cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

so what is the language named?, i found this written in notepad

回答 (3)

2013-10-29 12:26 pm
That is a DOS/Windows Batch file.
2013-10-29 2:30 pm
Good answers.

Here is a link to a Microsoft page that has a bunch of the commands listed. You can Google them individually for more information on h ow to use them.

http://technet.microsoft.com/en-us/library/cc722477.aspx

Most of the Old Timers still use Batch files quite a bit myself included.
2013-10-29 12:53 pm
That is Batch. It's sorta like the Windows master language; you can do just about everything program-wise and file-wise with Batch. (It is common to make viruses with, and it can even control hardware)


收錄日期: 2021-05-01 15:54:08
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20131029042217AA3Ufyb

檢視 Wayback Machine 備份