LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-Oct-2009, 04:44 AM
hennys's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Urmond, The netherlands
Posts: 162
hennys 0 reputation points
Default false interpretation of %temp% variable ?

Hi,

I have created an application that copies some files to a subdirectory of the users %temp% folder. In the execution it starts access and opens the file from the location where the files are copied (also with %temp% variable). The working directory is the subdirectory where the files are copied also specified by the %temp% variable. On a normal workstation this works fine.

When I try the same on terminal server, however the application fails with error.

id=267 directory name is invalid

User temporary folders per session is turned on on the terminal server, and I would like to leave it that way.

When I query the %TEMP% variable from windows, I can see that it is set to:
c:\docume~1\HSKL\Locals~1\TEMP\19
The part of the zenworks that copies the files copies the files to:
c:\docume~1\HSKL\Locals~1\TEMP\19 so this is correct.

The part of zenworks that specifies the parameters or the working directory for application objects interprets the path as:

c:\Documents and Settings\HSKL\Local Settings\Temp and here the \19 subdirectory is omitted, which is imho false. Does zenworks use two different query methods for a temp variable ?

Kind regards,

Hen
__________________
Regards,

Hen
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 09:46 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2