We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-dev] Specifying a Default Local Path (XP vs Sys 7)

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Question from R. N. Wilhite on Jun 8 at 12:05 PM
In the past, other programmers have hard coded C:\TEMP as the default destination for local file paths. Our network people are now taking away authorization to everything C:\.. So all of these paths have to be changed. The only legal path left is in the user directory. %HOMEPATH% gives you that directory, but XP and Sys7 have a different structure there after. For XP, I can use %HOMEPATH%\SAPWorkDir but for Sys7, I'd need %HOMEPATH%\My Documents\SAP. How am I going to make that determination programmatically?

I know that if you don't specify a path, SAP will automatically pick the "Work Dir", but this is disturbing to the users. They don't feel like they know where the file is going. I suppose it would be best to programmatically evaluate %HOMEPATH% as well (turn it into a normal path string), but I don't know how to do that either.

I guess another option would be to programmatically read the path of "work dir".

Any suggestions (including a complete change in direction)?

Neal
 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
pretty lady ask a question
 
R. N. Wilhite  
Senior Project Manager
23 achievements
 
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language