| Author |
Message |
Topic: "%comspec% /k cd %folder%" does not work properly |
Wizard
Replies: 5
Views: 448
|
Forum: Ask for Help Posted: Sun Jul 15, 2007 7:45 pm Subject: "%comspec% /k cd %folder%" does not work properly |
| Oops, I couldn't have realised that "cd" is to blame, thanks very much! |
Topic: "%comspec% /k cd %folder%" does not work properly |
Wizard
Replies: 5
Views: 448
|
Forum: Ask for Help Posted: Fri Jul 13, 2007 2:18 pm Subject: "%comspec% /k cd %folder%" does not work properly |
Well, that's funny, I solved it like this:
FileSelectFolder, Folder
if Folder =
ExitApp
SetWorkingDir, %Folder%
Run, %comspec% /k
Can anyone tell me why the first script did not work?
It d ... |
Topic: "%comspec% /k cd %folder%" does not work properly |
Wizard
Replies: 5
Views: 448
|
Forum: Ask for Help Posted: Fri Jul 13, 2007 2:12 pm Subject: "%comspec% /k cd %folder%" does not work properly |
Hi!
I'm using a script to select a folder and then open a command prompt in that folder like this:
FileSelectFolder, Folder
if Folder =
ExitApp
Run, %comspec% /k cd %Folder%
The probl ... |
Topic: Remotely login in a "local" way... |
Wizard
Replies: 12
Views: 539
|
Forum: Ask for Help Posted: Wed Apr 25, 2007 2:36 pm Subject: Remotely login in a "local" way... |
Oops, W2k Pro can not act as a host, so Remote Desktop won't work  |
Topic: Remotely login in a "local" way... |
Wizard
Replies: 12
Views: 539
|
Forum: Ask for Help Posted: Wed Apr 25, 2007 1:34 pm Subject: Re: Remote Desktop |
Unattended admin logon can be a security risk. Assuming this is XP Pro, have you considered Remote Desktop?
This would ensure the remote PCs are still locked, while your Ahk scripts can still work ... |
Topic: Remotely login in a "local" way... |
Wizard
Replies: 12
Views: 539
|
Forum: Ask for Help Posted: Wed Apr 25, 2007 10:27 am Subject: Remotely login in a "local" way... |
It didn't work. The script did execute, but the Send commands did nothing  |
Topic: Remotely login in a "local" way... |
Wizard
Replies: 12
Views: 539
|
Forum: Ask for Help Posted: Tue Apr 24, 2007 7:13 pm Subject: Remotely login in a "local" way... |
you want to execute the login script that resides on the PC from some other PC?
Exactly. I can do something like:
psexec \\pcname -u administrator -p password -i c:\myscript.exe
What I don't know i ... |
Topic: Remotely login in a "local" way... |
Wizard
Replies: 12
Views: 539
|
Forum: Ask for Help Posted: Tue Apr 24, 2007 6:26 pm Subject: Remotely login in a "local" way... |
you could try having a script running as a service when the system starts (XYNTservice is good for that), but I'd rather type the admin password each time - more secure.
Let's say I put this script ... |
Topic: Remotely login in a "local" way... |
Wizard
Replies: 12
Views: 539
|
Forum: Ask for Help Posted: Tue Apr 24, 2007 6:05 pm Subject: Remotely login in a "local" way... |
| engunneer, it's my bad, I didn't phrase correctly the question. Yes, I know how to automatically login, but sometimes I need to log-off from the initial account, log-in as administrator, do some stuff ... |
Topic: Remotely login in a "local" way... |
Wizard
Replies: 12
Views: 539
|
Forum: Ask for Help Posted: Tue Apr 24, 2007 4:07 pm Subject: Remotely login in a "local" way... |
Hi guys!
A number of PCs have started and they are all waiting in the login dialog. Is there any way I can use another PC to make these PCs login locally as if someone was there? |
Topic: FileCopyDir in LAN problem |
Wizard
Replies: 3
Views: 231
|
Forum: Ask for Help Posted: Sat Apr 21, 2007 4:45 pm Subject: FileCopyDir in LAN problem |
Well, i solved it by using the same password for the administrator account in my own pc with all the other.  |
Topic: FileCopyDir in LAN problem |
Wizard
Replies: 3
Views: 231
|
Forum: Ask for Help Posted: Wed Apr 18, 2007 1:14 pm Subject: FileCopyDir in LAN problem |
It says this sets the credentials for Run or RunWait commands. Will this work for other commands as well,like FileCopyDir (as I am not in the lab right now)? |
Topic: FileCopyDir in LAN problem |
Wizard
Replies: 3
Views: 231
|
Forum: Ask for Help Posted: Wed Apr 18, 2007 10:25 am Subject: FileCopyDir in LAN problem |
Hi!
I maintain a lab with 12 identical PCs in a workgroup. I'd like to use FileCopyDir in a loop to transfer files to all of them. However, all the commands fail because the account that I use from m ... |
| |