AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Migration: From PC HD to Server space

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Carcophan



Joined: 24 Dec 2008
Posts: 1308
Location: :noitacoL

PostPosted: Fri Jan 29, 2010 10:10 pm    Post subject: Migration: From PC HD to Server space Reply with quote

Normally all of the scripts that we use are run off of individual C:\ drives.

We also all have access to a common networked 'shared' drive 'S:\'. (I will put the script on the S:\ shared drive, and each user will go to S:\ and copy it onto there desktop or something so it is run on C:\ as normal)


We are getting rid of our shared S:\ drive soon and we will have a different server to store stuff on, but it will not have a drive letter associated with it.


Typically in code, I will type
#Include S:\Path\file.ahk
and have found that this also works
#Include //path/path_serv/file.ahk


But on the other hand, RUN, does not work for this. (The '/' slashes i mean)


Has anyone had expereince with this, changing root directory names to server file paths and stuff? will all of my scripts continue to function if migrated? I am not 'scared' per say, but I am not an IT person really, and do not know how the migration will effect things downstream. If at all.
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Fri Jan 29, 2010 10:41 pm    Post subject: Reply with quote

are you sure that it is // and not \\?
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
Carcophan



Joined: 24 Dec 2008
Posts: 1308
Location: :noitacoL

PostPosted: Fri Jan 29, 2010 11:17 pm    Post subject: Reply with quote

engunneer wrote:
are you sure that it is // and not \\?


I do not know the actual file path or anything yet, as the move has not happened. Sadly, I cannt even test this at this time, to even know if it is \\ vs // or anything. I was thinking of a simple "IfExist" check on a single file, but I don't even have a path to work with at this time.

All I DO know, is that someone informed me that we will be losing S:\ access, and said all external server access is done through: "//something/something/something/".

#Include S:\Path\file.ahk
#Include //path/path_serv/file.ahk

Both point to the same exact file and work.


Is that why the 'Run' command is not working, becuase I am using the web/server slashes, and not the HD backslash? '/' vs '\'

If worst comes to worst, I can rework things to just use #Includes, as opposed to 'run' commands, but what other things (if any) would be messed up aside from that?


I dont know... I just know that I have spent all this time on all of these scripts, and am paranoid that the teams will no longer be able to use them.

Pride--
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Sat Jan 30, 2010 8:02 pm    Post subject: Reply with quote

you can always map your own netwrk drive (well, usually) so you can keep things at S: while they really point to that address.
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group