PDA

View Full Version : Set working directory


imanta
05-16-2003, 12:20 PM
Is it possible to set the working directory through SF before calling Registration on a file? What is the default working directory?

imanta
05-16-2003, 01:39 PM
Got a good way to do this from Support:

1. Create an Action (Call EXE)
2. Use %SysDir%\regsvr32.exe for EXE Name
3. Under Command Line use /s %AppDir%\file.dll
4. Under Working Directory use %AppDir%

This runs registration silently and works like a charm.

Thanks IR Support for the help!