[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

dealing With Another Computer On Network

Posted on 1999-11-18
5
Medium Priority
?
138 Views
Last Modified: 2010-05-02
How Can I TurnOf Another Computer On A Network,Or For example Format it ,Or Copy Files From It From My Computer
(My Computer Is not The Server)
And The Servr Has Windows NT
Other Stations Has Windows95/98
0
Comment
Question by:Balshe
  • 3
  • 2
5 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 2219159
OK, to handle files moving between two machines, you must have either a share set up on the other machine to which you have the appropriate rights, you can then use this share as if it were local to you.

e.g. Copy c:\temp\file.txt \\Computer1\TempDir\file.txt

where TempDir is a share on Computer1 pointing to it's c:\temp directory.

If you are an administrator of the network, there are certain shares which are built into NT machines called administrative shares, these are of the form \\Computer1\C$ which gives you access to the root of the c drive on that machine.

In Windows Explorer, (and programatically in vb as well) you can create drive mappings so that let's say drive q: is mapped to the share \\computer1\TempDir.

To turn the computer off, you would need to use api functions to send a remote shutdown message to the workstation. However again you would need to be an administrator in order for this message to be heeded by the workstation.
0
 
LVL 1

Author Comment

by:Balshe
ID: 2219721
Thank You for your very Helpful Answer but the thing is that i want to ask you what can i do to shut down another computer On the network ,lets suppose that i know the administrator password and user name. can u help me with that ,and what is that API Function you are talking about
Thanks again
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 80 total points
ID: 2219743
If you post your Email address, I will send you a VB project which will shut down a specified remote machine.

Simply enter the machine name e.g.

\\Computer1 in the text box and click the button.

There is a lot of code there, mainly to do with the api and setting the appropriate privileges for the shutdown command.

0
 
LVL 1

Author Comment

by:Balshe
ID: 2219784
KAMAL973@yahoo.com
0
 
LVL 1

Author Comment

by:Balshe
ID: 2222250
Thank You very Much
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question