DosTips.com

A Forum all about DOS Batch
It is currently 24 May 2016 17:24

All times are UTC-06:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 15 Mar 2012 13:06 
Offline

Joined: 08 Sep 2010 10:25
Posts: 84
Location: Iran,Kashan
how to find out location of a file witch is running and I can see it in processes?


Top
   
PostPosted: 15 Mar 2012 17:54 
Offline
Expert

Joined: 22 Jan 2010 18:01
Posts: 1987
Location: Germany
You could use WMIC.
Code:
for /f "skip=1 tokens=*" %%i in ('wmic process where name^="firefox.exe" get ExecutablePath') do echo %%~dpi

Regards
aGerman


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: Google [Bot], sambul35 and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited