Modify

Opened 15 years ago

Closed 15 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 Changed 15 years ago by Valik

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 Changed 15 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.