PDA

View Full Version : symlink & C++


Miky
10-22-2004, 04:23 AM
Can anyone direct me to the help where can I find how to create symlink in C++?
THX

WarC
10-22-2004, 04:41 AM
printf("!vfs:chattr 1 \"d:\\my.physical.path\" \"/my.vfs.path\"\n");

darkone
10-22-2004, 05:48 AM
or without printf:

cout << "!vfs:chattr 1 \"" << path << '\"' << virtualDestinationPath << '\n'

:) (Not that i'd use those streams myself)

Miky
10-22-2004, 06:41 AM
cool its working
very easy I thought that I'll have to use memshare and DC_VFS_WRITE

THX again

dasOp
10-24-2004, 05:30 AM
Originally posted by Miky
cool its working
very easy I thought that I'll have to use memshare and DC_VFS_WRITE

As long as your app writes output to the client it will. Otherwise its shmem with the vfs, not nearly as much fun I promise you. :)

Miky
04-05-2005, 05:35 AM
So now it's here, I would like to do symlink by memshare and DC_VFS_WRITE because this "script" will not execute by/within iofptd.

Is it possible?

THX

bharath
02-10-2008, 02:23 AM
thanxs dude