• XSS.stack #1 – первый литературный журнал от юзеров форума

code help:)

etilmeta

CD-диск
Пользователь
Регистрация
05.04.2023
Сообщения
14
Реакции
3
Hello.
this is a script within a shortcut in Win 10 that allows to openseveral targets simultaniously. without any breaks or prompts...just click onthe icon and it opens several files at once.

can someone help with this code? what was it written in?
what are the variables% cd% for?

this is the sample .
cscript%cd% \ file1.vbs% ccd% \ file2.bat & & start% cd% \ file3.png

spasiba!


what la
Untitled-2.jpg

Untitled-1.jpg


cscript%cd% \ file1.vbs% ccd% \ file2.bat & & start% cd% \ file3.png
 
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
one way would be (idk if that helps) creating a bat file and have the shortcut point to that
Код:
@echo off
cd "C:\Users\user\path"
start file.exe
cd "C:\Users\user\another_path"
start another_file.exe
exit

on ur shortcut file link `C:\Users\user\Documents\file.bat`
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
 
the original screenshots show the command contains the & symbol which usually represents the AND so the bits either side of it are seperate commands run one after the other.



e.g: start this.exe & start that.exe would launch both exe files one after the other.
the following link explains more about the various other logical operators that batch files can use

Batch Script - Operators
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх