k2000 3.6 broke my batch script
Upgrade to 3.6
Some where in the depths of this site is my partition script I wrote to dynamically determine the partition layout, preserve the OEM partition if it exsists and create a single new partiton to install XP or Windows 7(w/o recovery part).
It is a batch script which calls txt files with diskpart commands inside and uses the error codes to determine if partitions exsist and how to handle them.
The batch script and txt files are zipped and called with a command line of:
call partitionsetup-1part.bat
From what I can tell this isn't working in the slightest. Help much appreciated.
Answers (1)
call partitionsetup-1part.bat in and an application type task, needs to become: cmd /c partitionsetup-1part.bat
As StockTrader suggested in his comment, you may want to try:
cmd /c partitionsetup-1part.bat
Also, here's an overview of changes that need to be made to post install tasks to work with the new Task Engine:
http://www.kace.com/support/resources/kb/solutiondetail?sol=SOL118913
The other thing you may want to look at is creating a new pre-install DISKPART task, instead of using a Batch file.
Comments:
-
yeah I had read that article but it didn't mention the cmd /c. That was the fix. I have recommend to support that they add "cmd /c" to their kb article - RandomITPro 10 years ago
-
you don’t need "cmd /c" all you need is the name of the .bat file,
"partitionsetup-1part.bat"
It is strange that you report it doesn’t work this way as I have yet to see it fail in this manner.
Corey
Lead T3 Enterprise Solutions Consultant, K2000 - cserrins 10 years ago
Have you tried to use cmd /cpartitionsetup-1part.bat ? - StockTrader 10 years ago