AutoHotkey Community

It is currently May 27th, 2012, 2:02 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: January 29th, 2010, 11:10 pm 
Offline

Joined: December 24th, 2008, 3:25 am
Posts: 1401
Location: :noitacoL
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2010, 11:41 pm 
Online
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
are you sure that it is // and not \\?

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2010, 12:17 am 
Offline

Joined: December 24th, 2008, 3:25 am
Posts: 1401
Location: :noitacoL
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--


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2010, 9:02 pm 
Online
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
you can always map your own netwrk drive (well, usually) so you can keep things at S: while they really point to that address.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, engunneer, JSLover, rbrtryn, sjc1000 and 18 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group