Guest User

Untitled

a guest
May 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. @for /f "tokens=1,2* delims==" %%i in ('@wmic process where "name='myprog.exe'" get ExecutablePath /value^|@find/i "" ') do @set fp=%%~dpj
  2.  
  3. @if /i "%fp%" == "%~dp0" @echo Same Folders
Add Comment
Please, Sign In to add comment