Command line 8.3 macro path names

General and specific configuration/INI settings

Command line 8.3 macro path names

Postby PaoloFCantoni » Tue May 31, 2005 8:31 am

It would appear that even though the macro path name on the command line (/M switch) is enclosed in quotes, the path can't contain spaces. :(

Can anyone else confirm this? :?:

I've logged a bug with IDM, but if there's a work around I'd like to know.

I can't always guarantee that the 8.3 name will be the same even though the full name is...

For example:

D:\Document management\Fred

requires:

D:\DOCUME~2\Fred

Cheerz,
Paolo
User avatar
PaoloFCantoni
Power User
Power User
 
Posts: 113
Joined: Sun May 01, 2005 11:00 pm
Location: Perth, Western Australia

Re: Command line 8.3 macro path names

Postby Mofi » Wed Jun 01, 2005 1:18 am

Have you set the quotes correct?

Wrong: "/M,E,5=full path of macro file/macro name"

Wrong: /M,E,5="full path of macro file"/macro name

Correct: /M,E,5="full path of macro file/macro name"
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4064
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Command line 8.3 macro path names

Postby PaoloFCantoni » Wed Jun 01, 2005 2:05 am

Hi Mofi,

thanks for the the input. I actually had:
/M,E="full path of macro file"

There's only one macro in the file and (naturally) it's the first, so I guess I assumed (according to what the UE help implies) that it would execute the first macro...

Any other ideas?

Paolo
User avatar
PaoloFCantoni
Power User
Power User
 
Posts: 113
Joined: Sun May 01, 2005 11:00 pm
Location: Perth, Western Australia

Re: Command line 8.3 macro path names

Postby Mofi » Wed Jun 01, 2005 4:59 am

I tested it with UE V10.10c with a macro file with many macros and a macro file with only one macro. No problems with long macro file and path name (spaces included).

In such situations, I always use Filemon from SysInternals. This little tool (unzip and run it, no installation) monitors and logs every disk access. Set input filter of Filemon to uedit32 to monitor only disk accesses of UltraEdit and not other tasks in the background. Maybe you then can see, what's going wrong.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4064
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Command line 8.3 macro path names

Postby PaoloFCantoni » Wed Jun 01, 2005 5:42 am

Thanks again Mofi,

I aready had FileMon - but when I set it up to record UEdit32 - It all started working! :?:

I'll have to check the other machine tomorrow (at work) in case the problem is specific to that machine....

Paolo
User avatar
PaoloFCantoni
Power User
Power User
 
Posts: 113
Joined: Sun May 01, 2005 11:00 pm
Location: Perth, Western Australia


Return to Configuration/INI Settings