View Single Post
  #34  
Old 03-25-2010, 05:33 PM
citect citect is online now
Registered User
 
Join Date: 11-13-2008
Posts: 30
I might have some useful info:


After re-installing 7.1 and 7.2a the TEST.bld would still not work. But I was using the same cmd window as 7.5 to run the VisBuildCmd.

After opening a new cmd window and run VisBuildCmd on 7.1 then test.bld works fine.

Then I re-installed 7.5 and run VisBuildCmd on the same cmd window, TEST.bld is not working. Actually the bat file is not working anymore if I run it directly on the cmd window. It looks like the output are disabled for this cmd window but not entirely sure because I pretty sure that batch file is not executed at all.

Open a new cmd windows and run the same batch file directly from the window then the batch file works fine.


See the results:

*** Batch file run directly on a new cmd window (Works fine):

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>tfsindex.bat

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>echo
ECHO is on.

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>echo
ECHO is on.

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>echo
ECHO is on.

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>rem D:\DrvGrp\NonODC\Utilities\DriverPackBuilder\tfsin dex.cmd



*** test.bld using 7.1 on the same cmd window (works fine):

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>"c:\Program Files\VisBuildPro7\VisBuildCmd.exe" test.bld

VisBuildCmd, Version 7.1.0.1
Copyright (C) 1999-2009 Kinook Software, Inc. All rights reserved.
Evaluation Version: 30 days remaining

26/03/2010 9:05:38 AM: --------------------Starting Build: 'C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test\test.bld'--------------------
26/03/2010 9:05:38 AM: Building project step 'Project steps'...
26/03/2010 9:05:38 AM: Building project step 'Create batch file'...
Step default property 'Filename' = 'C:\DOCUME~1\GILLES~1.FAU\LOCALS~1\Temp\test.bat'
Creating file C:\DOCUME~1\GILLES~1.FAU\LOCALS~1\Temp\test.bat
26/03/2010 9:05:38 AM: Building project step 'Run Program'...
Step default property 'command' = 'C:\DOCUME~1\GILLES~1.FAU\LOCALS~1\Temp\test.bat abc'

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>echo 26/03/2010 9:05:38 AM abc
26/03/2010 9:05:38 AM abc
26/03/2010 9:05:39 AM: Building project step 'Show exit code'...
0
26/03/2010 9:05:39 AM: Build successfully completed.




*** test.bld using 7.5 on the same cmd window (Does not work):

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>"c:\Program Files\VisBuildPro7\VisBuildCmd.exe" test.bld

VisBuildCmd, Version 7.5.0.3
Copyright (C) 1999-2010 Kinook Software, Inc. All rights reserved.
Trial version: 30 days remaining

26/03/2010 9:12:35 AM: Starting Build: 'C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test\test.bld'
26/03/2010 9:12:35 AM: Building project step 'Project steps'...
26/03/2010 9:12:35 AM: Building project step 'Create batch file'...
Step default property 'Filename' = 'C:\DOCUME~1\GILLES~1.FAU\LOCALS~1\Temp\test.bat'
Creating file C:\DOCUME~1\GILLES~1.FAU\LOCALS~1\Temp\test.bat
26/03/2010 9:12:35 AM: Building project step 'Run Program'...
Step default property 'command' = 'C:\DOCUME~1\GILLES~1.FAU\LOCALS~1\Temp\test.bat abc'
26/03/2010 9:12:35 AM: Building project step 'Show exit code'...
0
26/03/2010 9:12:36 AM: Build successfully completed (elapsed = 00:00:01).

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>



*** Batch file run directly on the same cmd window (Does not work):

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>tfsindex.bat

C:\Documents and Settings\gilles.faure\My Documents\temp\kinook test>
Reply With Quote