diskpart

  • Thread starter Thread starter Gianluca Facca
  • Start date Start date
G

Gianluca Facca

I made a batch file which has the following line

diskpart /s script.txt

this batch works fine, but if I add it to a runonce component it seems the
system can't find the file script.txt. I tryed changing its destination
path, but without success.

Any suggest?
 
I made a batch file which has the following line
diskpart /s script.txt
Any suggest?

Try using full path to script file.
For example> diskpart /s C:\script.txt
If script is in root.


Best regards,
Slobodan
 
Thank You Slobodan, now it works very well!!!

Slobodan Brcin said:
Try using full path to script file.
For example> diskpart /s C:\script.txt
If script is in root.


Best regards,
Slobodan
 
Back
Top