samedi 22 août 2020

Batch Random Variable Name

set %random% randomfolder=
md %randomfolder%
cd %randomfolder%
pause 

Now when I run this command as .bat file it gives this error:

C:\Users\Anonymous\Desktop\Folderspammer>set 23191 randomfolder=

C:\Users\Anonymous\Desktop\Folderspammer>md

The syntax of the command is incorrect.

C:\Users\Anonymous\Desktop\Folderspammer>cd

C:\Users\Anonymous\Desktop\Folderspammer

C:\Users\Anonymous\Desktop\Folderspammer>pause

Press any key to continue . . .




Aucun commentaire:

Enregistrer un commentaire