Re: EU dir command

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
gwalters said...

I am using EU 2.4 and having trouble with the dir command. I want to dir a shared directory in my desktop server running windows 7. I think I have the shares correct because I can dir from a command window on my laptop.

dir
MyServerName\source works from a dos command window but the dir(path) where path is
MyServerName\source does not work. Any ideas?

Does

object x 
x = dir("\\\\MyServerName\\source\\*.*") 

work?

Also, you say that this program runs on startup ... does it run as a service somehow (e.g. via winserv) or does it run as the user who is logging in? Does the user log in with a password? Services and passwordless auto-logins generally have no network-anything permissions.

Sorry, for the delay. I have been out of town with a customer whose computer died. It is just a program that should be launched sometime during boot up. It runs then quits if there are no software changes on the server it needs to download. It is not a service that persists. What I have been able to do is launch a windows 7 dir command that creates the file and I read that file and essentially have written my own version of the EU dir command. Seems to work

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu