![]() |
PACL v6.01 - command prompt corrupted when used with '-unicode' switch?
Hi,
Summary: Powerarchiver with '-unicode' mode is corrupting the environment and no batch files could be executed after PA run How to reproduce: 1. I have a .bat file C:\test.bat which has the following content @echo off echo Test > C:\testout.txt 2. I open a command prompt and run c:\test.bat. C:\testout.txt is created. 3. delete the file 4. run PACL in unicode mode in the same command shell as below: D:\ConeXware\PowerArchive\6.01\PAEXT.exe -q -c -v -r -spassoword -unicode d:\archive.tar.Z - this lists the archive. 5. now run c:\test.bat in the same command prompt - c:\testout.txt is not created This is the issue! Even though C:\test.bat returns a success, batch file is actually not executed. This issue does not occur if -unicode switch is not used. What would be the workaround for this? We are the registered users of PACL and recently upgraded to PACL6.01. Please reply at the earliest as this issue is affecting release of our product. Thanks, Jithesh |
Hi!
Quote:
Code:
C:\PACL>dirKind Regards Micke |
Did you start cmd.exe with /u switch? Without it, cmd.exe is not running with unicode support, so then PACL can not use unicode either.
|
Hi!
I have tested it with the /u switch and now the bat file write the informaton correct to the textfile. I still get the same error when running the dir comand after list the contents of the archive. It works if I use the dir /w, but only dir gets the same error message. It's not important to me since it works when I use the dir /w instead. Thanks spwolf for the help. Kind Regards Micke |
cmd /u also did not work!
I tried opening with /u switch but that didnt work either. C:\testout.txt is not created when running the batch file after running paext.exe with '-unicode' in the command prompt opened with /U switch.
@Micke: 'dir' command is always working regardless of -unicode switch for me. No issues with dir command at my side. Please check if it is because of write permission for PACL in a particular directory. Thanks, Jithesh |
Quote:
I have tested this on Windows 7 and it's working for me when I open a cmd window using the /u switch like this: Code:
cmd /uQuote:
My only suggestion to you is that you try change the path in the bat folder to a subfolder instead of the root folder. Kind Regards Micke |
| All times are GMT -5. The time now is 12:23 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.