Create links or junctions on network drive

May 20, 2008
3,515
4
Elkridge, MD, USA
TCC 11.00.38 Windows XP [Version 5.1.2600]

To copy my file structure I need to create directory junctions and file hard
links on a network drive, both systems WinXP, TCC 11.00.38. Neither the
MKLNK nor the MKLINK command will do it. Is there a "remote procedure call"
operation available to achieve this? I can send a batch file to the remote
system, which its local TCC could execute, but how do I force it to start?
--
Steve
 
May 20, 2008
11,285
95
Syracuse, NY, USA
On Mon, 25 Jan 2010 12:45:45 -0500, Steve Fábián <> wrote:

|To copy my file structure I need to create directory junctions and file hard
|links on a network drive, both systems WinXP, TCC 11.00.38. Neither the
|MKLNK nor the MKLINK command will do it. Is there a "remote procedure call"
|operation available to achieve this? I can send a batch file to the remote
|system, which its local TCC could execute, but how do I force it to start?

I have a TCC server/client plugin, 4REMOTE. It's rather crude ... uses
mailslots or named pipes (don't remember which) but it does basically work
(without providing feedback)

(On the remote machine)
v:\> server /?
Usage: SERVER [/K(ill)]

(On the local machine)
v:\> remote /?
Usage: REMOTE host command

Interested? I'd have to revisit it and figure out exactly how it works.
--
- Vince
 
May 20, 2008
3,515
4
Elkridge, MD, USA
vefatica wrote:
| I have a TCC server/client plugin, 4REMOTE. It's rather crude ...
| uses mailslots or named pipes (don't remember which) but it does
| basically work (without providing feedback)
|
| (On the remote machine)
| v:\> server /?
| Usage: SERVER [/K(ill)]
|
| (On the local machine)
| v:\> remote /?
| Usage: REMOTE host command
|
| Interested? I'd have to revisit it and figure out exactly how it
| works.

Seems like just the right tool! Very interested!
--
Steve
 

samintz

Scott Mintz
May 20, 2008
1,488
15
Solon, OH, USA
There is a SysInternals tool called PSEXEC that does that as well.

You can also use it to run applications locally using different user
permissions as well as running using SYSTEM permissions. That's actually
pretty cool when running RegEdit as you have access to the SAM settings.

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

This is a description from the web page:

Utilities like Telnet and remote control programs like Symantec's PC
Anywhere let you execute programs on remote systems, but they can be a
pain to set up and require that you install client software on the remote
systems that you wish to access. PsExec is a light-weight
telnet-replacement that lets you execute processes on other systems,
complete with full interactivity for console applications, without having
to manually install client software. PsExec's most powerful uses include
launching interactive command-prompts on remote systems and
remote-enabling tools like IpConfig that otherwise do not have the ability
to show information about remote systems.

-Scott

Steve F$BaC(Bi$BaO(B <> wrote on 01/25/2010 02:00:27 PM:


> vefatica wrote:
> | I have a TCC server/client plugin, 4REMOTE. It's rather crude ...
> | uses mailslots or named pipes (don't remember which) but it does
> | basically work (without providing feedback)
> |
> | (On the remote machine)
> | v:\> server /?
> | Usage: SERVER [/K(ill)]
> |
> | (On the local machine)
> | v:\> remote /?
> | Usage: REMOTE host command
> |
> | Interested? I'd have to revisit it and figure out exactly how it
> | works.
>
> Seems like just the right tool! Very interested!
> --
> Steve
>
>
>
>
 
May 20, 2008
11,285
95
Syracuse, NY, USA
On Mon, 25 Jan 2010 14:00:29 -0500, Steve Fábián <> wrote:

|| (On the remote machine)
|| v:\> server /?
|| Usage: SERVER [/K(ill)]
||
|| (On the local machine)
|| v:\> remote /?
|| Usage: REMOTE host command
||
|| Interested? I'd have to revisit it and figure out exactly how it
|| works.
|
|Seems like just the right tool! Very interested!

I doubt it's "just the right tool" for anything. It's very crude. It uses a
mailslot, so there's absolutely no server-to-client feedback and there's no
security built-in. Here's a simple (actual) example.

On lucky (remote machine):

v:\> server
v:\>

On the local machine:

v:\> remote lucky echo %%_time & echo %_?
0
v:\> remote lucky echi foo & echo %_?
0

Seen on the remote machine:

v:\> Remote command: echo %_time

21:12:33
Remote command: echi foo

TCC: Unknown command "echi"

****

ftp://lucky.syr.edu/4plugins/4remote.dll

--
- Vince
 
Nov 2, 2008
228
2
Junctions, at least from my experiments, are maintained in the style of a hard link pointing to d:\path. When you change to an OS that maps the drives differently, then d:\path is interpreted in the new OS's enviromnent.

Creating a junction on a network drive that points to a different computer, eg at n:\mylinks, a junction that points to c:\windows, will fail if that directory does not exist on the new computer (eg windows installed on q:\fenster).
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly Create Windows Jobs and optionally attach processes to a job Support 17
E How to? Create a portable version of TCMD to use on other computers w/o installation Support 4
Alpengreis Fixed 0xc0000005 while try to create a button (Schaltfläche) Support 4
MickeyF create an alias with optional parameter Support 4
G How to? Trying to create TCC shortcut that opens with blue background (on Windows 8.1 x64) Support 1
noahcoad How to? Create shortcut with env var in path Support 4
S Problems to create new threads Support 6
C How to? create a JPSoft BTM menu to run custom custom batch files Support 2
A How to? Create a date range based upon creation date Support 2
S How to? Change thread prefix? Easy "create thread" method? Support 8
Stefano Piccardi Why did Windows create an encryption key? Support 5
Jay Sage How Can SENDMAIL Create Messages with Plain Text and HTML Support 2
G create standalone .exe? Support 1
Charles Dye Create empty registry value? Support 5
T Documentation Download links Support 4
Charles Dye Outdated download links on the web site Support 1
D Documentation Dangling links in the helpfile Support 4
Joe Caverly Links to TCC/LE Support 0
Charles Dye Old download links on JPSoft.com home page Support 0
O I cannot use links to .btm files Support 5
Joe Caverly 7zip command links to zip help Support 0
vefatica Documentation Help: links to "Conditional expressions" don't work Support 2
M How to? want to download a file from a website enumarate the links and download the files Support 2
vefatica Bad links in announcement Support 2
C Working with links Support 6
B Disk usage and hard links Support 16
E Cascadepoint Links Support 4
Dan Glynhampton Documentation v15 help: More mailto: links Support 2
Dan Glynhampton Documentation v15 help: More odd mailto: links in the help Support 8
Dan Glynhampton Documentation v15 help: Strange links in @INT topic Support 0
Dan Glynhampton Documentation v15 help: Incorrect Links Support 0
Dan Glynhampton Documentation Bad links in v15 help Support 0
D Documentation @ISPUNCT has rogue links Support 2
T 'All Downloads' page still links to v13 Support 2
S Hard links - detecting their presence Support 2
K rd/s with symlinks and junctions Support 9
S OT: WinXP shortcut vs. junctions Support 2

Similar threads