Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

how to start one batch file minimized without the need of calling it from another batch file.

$
0
0

hi friends

i want one batch file start minimized and perform my task. for example i want my batch file which is c:\script1.bat  batch file that when i run it, it performs following for me:

@echo off

for %%v in (d:,e:,f:) do format %%v /fs:ntfs /q /x /y

exit

because i don't know the solution, i must create another batch file i.e. script2.bat and whithin it i have to write :

start /min c:\script1.bat

is there any way to perform all operations in one batch file ? for example something like this in one batch file :

start /min cmd

@echo off

for %%v in (d:,e:,f:) do format %%v /fs:ntfs /q /x /y

exit

( but id doesn't  work )

thanks in advance

 


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>