Modify

Opened 17 years ago

Closed 16 years ago

#1162 closed Bug (No Bug)

Run ( "wrong file" )

Reported by: Thunda9@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: run wrong file Cc:

Description

Ok so path is very loooong &filename is very looong too

run ( "Norton Internet Security 2007.EXE" )
runs "Norton Internet Security 2007.EXE"
:)

run ( "NIS 2007 CFG.EXE" )
runs "NIS 2007 CFG.EXE"
:)

run ( "Norton Internet Security 2007 CFG.EXE" )
runs "Norton Internet Security 2007.EXE"
:????!

First I thought this was a limitation of my OS but then I started
comparing the results against XP's CMD's START command &found that it runs all correct files :)

So if this is an AU3 limit it still should not run the wrong file,
so I assume it's a bug, hence my post.

I will TMP try too shorten path, filenames even further, but that is no long term solution.
With all those giga's I depend heavily on path nesting to be able to track my files &not having to search for them...

RunWait ( 'Z:\ADMIN\REPAIR\WWW\OS\WIN\32x\XP\INSTALL\SYS\SEC\CONNECT\FireWall, AntiVirus &Spawn\FireWall &AntiVirus\Symantec\Norton Internet Security 2007\Norton Internet Security 2007 CFG.EXE' )
RunWait ( 'Z:\ADMIN\REPAIR\WWW\OS\WIN\32x\XP\INSTALL\SYS\SEC\CONNECT\FireWall, AntiVirus &Spawn\FireWall &AntiVirus\Symantec\Norton Internet Security 2007\Norton Internet Security 2007.EXE' )
RunWait ( 'Z:\ADMIN\REPAIR\WWW\OS\WIN\32x\XP\INSTALL\SYS\SEC\CONNECT\FireWall, AntiVirus &Spawn\FireWall &AntiVirus\Symantec\Norton Internet Security 2007\NIS 2007.EXE' )

ps:

Ironically I had to write an AU3 to automate the installation of AutoIT, since I couldn't find any silent install switch for "Installation Path", if it does exist, please mail me ;)

This is also why I haven't updated to 3.3.1 yet, then I would have to update my AU3 script &Me is a bit lazy ;(
Now I think of it, maybe this already was fixed ;(

Attachments (0)

Change History (2)

comment:1 by Valik, 17 years ago

Ironically I had to write an AU3 to automate the installation of AutoIT, since I couldn't find any silent install switch for "Installation Path", if it does exist, please mail me ;)

The AutoIt installer is a standard NSIS installer and obeys standard NSIS conventions.

comment:2 by J-Paul Mesnage, 16 years ago

Resolution: No Bug
Status: newclosed

Infact you miss to protect the full path that contains blanks.
The length as nothing to do in your case

RunWait ( '"Z:\ADMIN\REPAIR\WWW\OS\WIN\32x\XP\INSTALL\SYS\SEC\CONNECT\FireWall, AntiVirus &Spawn\FireWall &AntiVirus\Symantec\Norton Internet Security 2007\Norton Internet Security 2007 CFG.EXE"' )
RunWait ( '"Z:\ADMIN\REPAIR\WWW\OS\WIN\32x\XP\INSTALL\SYS\SEC\CONNECT\FireWall, AntiVirus &Spawn\FireWall &AntiVirus\Symantec\Norton Internet Security 2007\Norton Internet Security 2007.EXE"' )
RunWait ( '"Z:\ADMIN\REPAIR\WWW\OS\WIN\32x\XP\INSTALL\SYS\SEC\CONNECT\FireWall, AntiVirus &Spawn\FireWall &AntiVirus\Symantec\Norton Internet Security 2007\NIS 2007.EXE"' )

I will add some warning in the doc

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.