• How to Access a Peer machine on same LAN network

    From Mel Smith@21:1/5 to All on Thu Dec 9 09:05:07 2021
    Hi All:
    Is there a Harbour way to access the directories of a peer machine on the same local LAN Network.

    (and yes, I know I can start up batch files to try to do this, but is there any other way ? )

    So, using a harbour proggie, I'd like to copy files from my dev machine to another machine on my local network.

    Thanks,

    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to dlzc on Thu Dec 9 09:44:25 2021
    On Thursday, December 9, 2021 at 10:20:58 AM UTC-7, dlzc wrote:
    Dear Mel:
    On Thursday, December 9, 2021 at 10:05:09 AM UTC-7, meds...@gmail.com wrote:
    Hi All:
    Is there a Harbour way to access the directories of a peer
    machine on the same local LAN Network.
    Is there a mapped drive, or are you going to use UNC?
    (and yes, I know I can start up batch files to try to do this,
    but is there any other way ? )

    So, using a harbour proggie, I'd like to copy files from my dev
    machine to another machine on my local network.
    You could do RUN, and give it source and destination information (like in a batch file).

    Pretty sure we've implemented filecopy(): https://www.itlnet.net/programming/program/Reference/tools1-3/ng959a3.html ... might be slower, but you could get error status back if it did not work.

    David A. Smith

    Hi David:
    It is a mapped drive J: to the root of the peer:
    (i.e., net use J: \\lenovo\C /persistent:yes)
    I can 'RUN' the batch files, but whatever I do (after weeks of trying different schemes), I still get 'Access Denied'
    However, if I turn sideways to this little peer ( aWin 7 Pro laptop), and work on it, I can access my dev machine with no problem !!
    That is, on the peer Win 7 machine, I can do the following:
    c:\>copy i:\anydamnthingIwant.xxx /v
    or: c:\del j:crap.txt
    These things I can do we gay abandon --- at the command line !

    So, with my brilliant mind, I thought: why not create a little proggie that tries to sneak around the crazy 'Access Denied' and see if a Harbour program can copy files to directories on my Win 7 machine. (also, the Win 7 machine has all the proper '
    Share' settings changed and modified incessantly over the past two months.

    So, what I 've been doing (since my dev crash last April is 'pullling files' rather tha 'pushing them' from dev to peer.

    Thanks for your comments. So, I guess I'll try to use the following xharbour command:

    filecopy("c:\somedevdir\mydevfile.xxx","j:\somejdir\mydevfile.xxx)

    Your further comments are welcome and Thanks

    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dlzc@21:1/5 to meds...@gmail.com on Thu Dec 9 09:20:57 2021
    Dear Mel:

    On Thursday, December 9, 2021 at 10:05:09 AM UTC-7, meds...@gmail.com wrote:
    Hi All:
    Is there a Harbour way to access the directories of a peer
    machine on the same local LAN Network.

    Is there a mapped drive, or are you going to use UNC?

    (and yes, I know I can start up batch files to try to do this,
    but is there any other way ? )

    So, using a harbour proggie, I'd like to copy files from my dev
    machine to another machine on my local network.

    You could do RUN, and give it source and destination information (like in a batch file).

    Pretty sure we've implemented filecopy(): https://www.itlnet.net/programming/program/Reference/tools1-3/ng959a3.html
    ... might be slower, but you could get error status back if it did not work.

    David A. Smith

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan@21:1/5 to All on Fri Dec 10 00:41:20 2021
    Il 09/12/2021 18:44, Mel Smith ha scritto:

    It is a mapped drive J: to the root of the peer:
    (i.e., net use J: \\lenovo\C /persistent:yes)
    I can 'RUN' the batch files, but whatever I do (after weeks of trying different schemes), I still get 'Access Denied'
    It seems a permission problem. Try to set the directory you want to
    access writable by NETWORK USERS.

    I guess the program does not impersonate the owner/user (you) of that directory, maybe is auto started by system?...

    Dan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Dan on Thu Dec 9 19:32:45 2021
    On Thursday, December 9, 2021 at 4:41:38 PM UTC-7, Dan wrote:
    Il 09/12/2021 18:44, Mel Smith ha scritto:

    It is a mapped drive J: to the root of the peer:
    (i.e., net use J: \\lenovo\C /persistent:yes)
    I can 'RUN' the batch files, but whatever I do (after weeks of trying different schemes), I still get 'Access Denied'
    It seems a permission problem. Try to set the directory you want to
    access writable by NETWORK USERS.

    I guess the program does not impersonate the owner/user (you) of that directory, maybe is auto started by system?...


    Hi Dan:
    As you can see above, I want to be able to access the root drive of C *and* all its sub-directories.
    I was able to do this for *years* with no problem, then after a Win 10 crash in late April, and a subsequent rebuild /update of my Win 10 dev machine, I was unable to 'push' files to my little peer any more.

    On my Win 7peer, I give access to *everybody* with read/write/delete options for *all*. I even hired a geek2you guy who came over to my place, and worked for an hour finally saying "you can't do that !" . So, I said I'd been doing it for *years*. He
    left with $100 of my money.

    Also, I've been researching the use of the hidden drive: C$ Yeah, a dollar sign. A mapping using this C$ designation is 'supposed to' allow access to a C: drive on a peer target machine which has a user with the same username and password as on
    the base machine. And I have the identical name and password on both machines. And, of course, both usernames are Administrators. Can't make that work either.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to All on Thu Dec 9 20:50:56 2021
    Hi All:
    I created and ran the proggie, but failed to fool the operating system :( Thanks all
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kenny.ooi@21:1/5 to meds...@gmail.com on Thu Dec 9 20:57:43 2021
    On Friday, December 10, 2021 at 11:32:46 AM UTC+8, meds...@gmail.com wrote:
    On Thursday, December 9, 2021 at 4:41:38 PM UTC-7, Dan wrote:
    Il 09/12/2021 18:44, Mel Smith ha scritto:

    It is a mapped drive J: to the root of the peer:
    (i.e., net use J: \\lenovo\C /persistent:yes)
    I can 'RUN' the batch files, but whatever I do (after weeks of trying different schemes), I still get 'Access Denied'
    It seems a permission problem. Try to set the directory you want to
    access writable by NETWORK USERS.

    I guess the program does not impersonate the owner/user (you) of that directory, maybe is auto started by system?...


    Hi Dan:
    As you can see above, I want to be able to access the root drive of C *and* all its sub-directories.
    I was able to do this for *years* with no problem, then after a Win 10 crash in late April, and a subsequent rebuild /update of my Win 10 dev machine, I was unable to 'push' files to my little peer any more.

    On my Win 7peer, I give access to *everybody* with read/write/delete options for *all*. I even hired a geek2you guy who came over to my place, and worked for an hour finally saying "you can't do that !" . So, I said I'd been doing it for *years*. He
    left with $100 of my money.

    Also, I've been researching the use of the hidden drive: C$ Yeah, a dollar sign. A mapping using this C$ designation is 'supposed to' allow access to a C: drive on a peer target machine which has a user with the same username and password as on the
    base machine. And I have the identical name and password on both machines. And, of course, both usernames are Administrators. Can't make that work either.

    hi med ,you can try this ... filecopy("c:\somedevdir\mydevfile.xxx","\\networkname\somejdir\mydevfile.xxx") or
    __run( " copy c:\somedevdir\mydevfile.xxx \\networkname\somejdir\mydevfile.xxx" )

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dlzc@21:1/5 to meds...@gmail.com on Fri Dec 10 06:00:28 2021
    Hello Mel:

    On Thursday, December 9, 2021 at 9:50:57 PM UTC-7, meds...@gmail.com wrote:
    Hi All:
    I created and ran the proggie, but failed to fool the operating system :(

    Micro$haft has deprecated doing ANYTHING in the root of the C drive, for decades. They want you to do everything under the User account, which means you should be doing everything under the User account OR a separate data drive.

    It is so much easier to ride the horse in the direction it is going.

    Can you invoke administrative rights on the batch file? Can you code it as a .CMD file (calls up CMD.EXE), rather than a .BAT file (calls up COMMAND.COM)? Remember, the virus writers love the older DOS interface, because it had significant
    vulnerabilities. And Users that demand DOS-like commands, require that Micro$haft leave their fly open a little bit...

    Not sure if our RUN command invokes COMMAND.COM or CMD.EXE.

    David A. Smith

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jayadev U@21:1/5 to Dan on Fri Dec 10 19:43:51 2021
    On 10-12-2021 05:11 am, Dan wrote:
    Il 09/12/2021 18:44, Mel Smith ha scritto:

        It is a mapped drive J: to the root of the peer:
           (i.e., net use J: \\lenovo\C /persistent:yes)
        I can 'RUN' the batch files, but whatever I do (after weeks of
    trying different schemes), I still get 'Access Denied'
    It seems a permission problem. Try to set the directory you want to
    access writable by NETWORK USERS.

    I guess the program does not impersonate the owner/user (you) of that directory, maybe is auto started by system?...

    Dan
    Hi Mel,

    There can be multiple reasons for "Access Denied Message". Please try
    out the following, one by one.

    1. Ensure File Sharing is enabled for the Network Adapter.
    2. Disable fire-wall temporarily on both the machines and check.
    3. Change the Network Profile to "Private" for the Network Adapter in
    use in both the machines.
    4. Create a same user in both machine with Admin rights and check.
    5. For Win 10 and Win 7 machines to communicate, in File sharing option
    of Network, change the password encryption from 128 to 40/56 and see or
    if it is at 40/56 change to 128.
    6. Antivirus (QuickHeal for example) will not allow file copy/write
    unless both the Network profile is set to 'Work' or 'Home' (Default is 'Public') IRRESPECTIVE OF SETTINGS IN NETWORK ADAPTER.

    If these do not solve your problem, send me an email and I will try and
    help you.

    Please understand that this is only a permission issue and you cannot
    "By-pass" the same through program.

    Warm regards,

    Jayadev

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Jayadev U on Fri Dec 10 09:30:32 2021
    On Friday, December 10, 2021 at 7:13:53 AM UTC-7, Jayadev U wrote:
    On 10-12-2021 05:11 am, Dan wrote:
    Il 09/12/2021 18:44, Mel Smith ha scritto:

    It is a mapped drive J: to the root of the peer:
    (i.e., net use J: \\lenovo\C /persistent:yes)
    I can 'RUN' the batch files, but whatever I do (after weeks of
    trying different schemes), I still get 'Access Denied'
    It seems a permission problem. Try to set the directory you want to
    access writable by NETWORK USERS.

    I guess the program does not impersonate the owner/user (you) of that directory, maybe is auto started by system?...

    Dan
    Hi Mel,

    There can be multiple reasons for "Access Denied Message". Please try
    out the following, one by one.

    1. Ensure File Sharing is enabled for the Network Adapter.
    2. Disable fire-wall temporarily on both the machines and check.
    3. Change the Network Profile to "Private" for the Network Adapter in
    use in both the machines.
    4. Create a same user in both machine with Admin rights and check.
    5. For Win 10 and Win 7 machines to communicate, in File sharing option
    of Network, change the password encryption from 128 to 40/56 and see or
    if it is at 40/56 change to 128.
    6. Antivirus (QuickHeal for example) will not allow file copy/write
    unless both the Network profile is set to 'Work' or 'Home' (Default is 'Public') IRRESPECTIVE OF SETTINGS IN NETWORK ADAPTER.

    If these do not solve your problem, send me an email and I will try and
    help you.

    Please understand that this is only a permission issue and you cannot "By-pass" the same through program.

    Warm regards,

    Jayadev
    Hi Jayadev:

    I'm going thru your steps one-by-one.
    But, I don't have any firewall active on either machine, and certainly File Sharing and Advanced File sharing are active on both machines.
    I have already turned off all 'Public' Sharing on both machines.
    The encryption has always been set to 128 on both machines. Should I change to 128 on both ??
    I have set both machines to "home".
    I'll puzzle a bit more before slamming my head on the desk :(
    Thanks !
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to All on Fri Dec 10 11:01:55 2021
    Hi All:
    Here's my little proggie below

    #INCLUDE "C:\MGW\SOURCE\INCLUDE2.CH"

    FUNCTION Main()
    local i,j
    local cJdrv,nJdrvtype,nKdrvtype
    local lGotJ,lGotK
    local cSrc,cDST,nBytes
    local nOSERR,nHBERR

    cJdrv := "J:"
    cKdrv := "K:"
    cSrc := "c:\download\somecrap.txt"
    cDst := "c:\download\loadofcrap.txt"
    cNetDst := "j:\download\loadofcrap.txt"
    cls

    // now test if J:drive exists
    lGotJ := isdisk(left(cJdrv,1))
    if .not. lGotJ
    alert("No SUCH Drive J. Start network and try again.")
    quit
    endif
    ?
    ? "Drive J exists"
    ?
    // Now test if its a network drive
    nJdrvtype := drivetype(left(cJdrv,1))

    if nJdrvtype <> 5
    alert(" Drive J: is NOT a network Drive")
    quit
    endif
    ? "Drive Type of J: is "+ntoc(nJdrvtype)
    ?

    // Try to pass a file from C: to C: first
    nBytes := filecopy(cSrc,cDst)
    alert("Number of bytes passed is: " + ntoc(nBytes))
    // Response above was 2678 bypres passed

    // Now Try to pass a file from C: to J: now
    nBytes := filecopy(cSrc,cNetDst)
    // Respinse above was 0 bytes passed
    nOSErr := HB_OSERROR()
    nHBERR := FERROR()
    if nbytes == 0
    alert("Operation Failed. No Bytes Copied. Err1 Code = "+ NTOC(nOSERR)+" Err2 Code = "+NTOC(nHBERR))
    // response above was 0 bytes passed, and both error codes showed 0 as the code !

    quit
    endif
    alert("Number of bytes passed is: " + ntoc(nBytes))
    alert("Quit Now")

    return nil

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dlzc@21:1/5 to meds...@gmail.com on Fri Dec 10 11:16:08 2021
    On Friday, December 10, 2021 at 12:01:57 PM UTC-7, meds...@gmail.com wrote:
    Hi All:
    Here's my little proggie below

    #INCLUDE "C:\MGW\SOURCE\INCLUDE2.CH"

    FUNCTION Main()
    local i,j
    local cJdrv,nJdrvtype,nKdrvtype
    local lGotJ,lGotK
    local cSrc,cDST,nBytes
    local nOSERR,nHBERR

    cJdrv := "J:"
    cKdrv := "K:"
    cSrc := "c:\download\somecrap.txt"
    cDst := "c:\download\loadofcrap.txt"
    cNetDst := "j:\download\loadofcrap.txt"
    cls

    // now test if J:drive exists
    lGotJ := isdisk(left(cJdrv,1))
    if .not. lGotJ
    alert("No SUCH Drive J. Start network and try again.")
    quit
    endif
    ?
    ? "Drive J exists"
    ?
    // Now test if its a network drive
    nJdrvtype := drivetype(left(cJdrv,1))

    if nJdrvtype <> 5
    alert(" Drive J: is NOT a network Drive")
    quit
    endif
    ? "Drive Type of J: is "+ntoc(nJdrvtype)
    ?

    // Try to pass a file from C: to C: first
    nBytes := filecopy(cSrc,cDst)
    alert("Number of bytes passed is: " + ntoc(nBytes))
    // Response above was 2678 bypres passed

    // Now Try to pass a file from C: to J: now
    nBytes := filecopy(cSrc,cNetDst)
    // Respinse above was 0 bytes passed
    nOSErr := HB_OSERROR()
    nHBERR := FERROR()
    if nbytes == 0
    alert("Operation Failed. No Bytes Copied. Err1 Code = "+ NTOC(nOSERR)+" Err2 Code = "+NTOC(nHBERR))
    // response above was 0 bytes passed, and both error codes showed 0 as the code !

    quit
    endif
    alert("Number of bytes passed is: " + ntoc(nBytes))
    alert("Quit Now")

    return nil

    And which message are you getting? Because I don't have your network architecture, mine is all Win10...

    Which is Win7, the "C" or the "J"?

    Can you have the machine with the "J" drive reach out and copy the "C" drive on the remote machine? Maybe have the "C" machine compare the two files... to make sure backup is occurring.

    David A. Smith

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to dlzc on Fri Dec 10 12:26:09 2021
    On Friday, December 10, 2021 at 12:16:10 PM UTC-7, dlzc wrote:
    On Friday, December 10, 2021 at 12:01:57 PM UTC-7, meds...@gmail.com wrote:
    Hi All:
    Here's my little proggie below

    #INCLUDE "C:\MGW\SOURCE\INCLUDE2.CH"

    FUNCTION Main()
    local i,j
    local cJdrv,nJdrvtype,nKdrvtype
    local lGotJ,lGotK
    local cSrc,cDST,nBytes
    local nOSERR,nHBERR

    cJdrv := "J:"
    cKdrv := "K:"
    cSrc := "c:\download\somecrap.txt"
    cDst := "c:\download\loadofcrap.txt"
    cNetDst := "j:\download\loadofcrap.txt"
    cls

    // now test if J:drive exists
    lGotJ := isdisk(left(cJdrv,1))
    if .not. lGotJ
    alert("No SUCH Drive J. Start network and try again.")
    quit
    endif
    ?
    ? "Drive J exists"
    ?
    // Now test if its a network drive
    nJdrvtype := drivetype(left(cJdrv,1))

    if nJdrvtype <> 5
    alert(" Drive J: is NOT a network Drive")
    quit
    endif
    ? "Drive Type of J: is "+ntoc(nJdrvtype)
    ?

    // Try to pass a file from C: to C: first
    nBytes := filecopy(cSrc,cDst)
    alert("Number of bytes passed is: " + ntoc(nBytes))
    // Response above was 2678 bypres passed

    // Now Try to pass a file from C: to J: now
    nBytes := filecopy(cSrc,cNetDst)
    // Respinse above was 0 bytes passed
    nOSErr := HB_OSERROR()
    nHBERR := FERROR()
    if nbytes == 0
    alert("Operation Failed. No Bytes Copied. Err1 Code = "+ NTOC(nOSERR)+" Err2 Code = "+NTOC(nHBERR))
    // response above was 0 bytes passed, and both error codes showed 0 as the code !

    quit
    endif
    alert("Number of bytes passed is: " + ntoc(nBytes))
    alert("Quit Now")

    return nil
    And which message are you getting? Because I don't have your network architecture, mine is all Win10...

    Which is Win7, the "C" or the "J"?

    Can you have the machine with the "J" drive reach out and copy the "C" drive on the remote machine? Maybe have the "C" machine compare the two files... to make sure backup is occurring.

    David A. Smith

    Hi David:
    The C machine is my development machine. The J machine is my Win 7 machine (and is the machine on which all three of my web sites reside.
    AsI noted before, on my J machine, I can easily access the C develpment machine and 'PULL' files over from C. But, I *don't want to * ! For years I've been PUSHING them to my little Win 7 machine. And then, months ago I lost this convenience. and I
    want it back.

    As an example, I was used to doing the following to send a new 1st page for one of my sites to my win 7 machine:
    (after editing the 1st page or menu or whatever for one of my sites_

    C:\MEP\>SEND MEPINDEX (where SEND is a batch file containing commands for copying the mepindex.htm to various places)
    and quick as a whistle, the new page would be available for display when users would visit my site.

    Yes, the J machine can and does reach out. Indeed the J machine (my web site machine) can easily read/write/edit/delete files on the C machine.
    My worry is that my 'slowly failing' C machine may crash, and a replacement Win 10 machine will no longer be accessible from the J machine.
    If that becomes reality, then I'm totally screwed.

    Right now, I'm totally dependent on 'pulling' files, and I'm frightened !

    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ella Stern@21:1/5 to All on Fri Dec 10 14:56:17 2021
    If I remember well, not even the plain local executables are permitted to write a file directly into the "root" of a disc (in C:\ etc.)
    I'd try to create a test folder, and I'd configure it for sharing (it shouldn't be inside your web-enabled folder tree).
    Just thinking out loud...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan@21:1/5 to All on Sat Dec 11 00:37:11 2021
    Il 10/12/2021 18:30, Mel Smith ha scritto:

    I'll puzzle a bit more before slamming my head on the desk :(
    Thanks !
    -Mel

    Mel, that thing that someone suggested about the "C:\" path being
    treated by Windows >=10 as a forbidden territory lit some neurons in my
    brain. I think I have heard something similar in the past.

    A kind of "security policy" the Microsoft way, the kind of thing you
    hear and you try to forget a moment later, as too insane... :-)

    Dan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Ella Stern on Fri Dec 10 17:20:29 2021
    On Friday, December 10, 2021 at 3:56:18 PM UTC-7, Ella Stern wrote:
    If I remember well, not even the plain local executables are permitted to write a file directly into the "root" of a disc (in C:\ etc.)
    I'd try to create a test folder, and I'd configure it for sharing (it shouldn't be inside your web-enabled folder tree).
    Just thinking out loud...

    Hi Ella:
    I just made a quickie change to my proggie, and wrote that loadofcrap file to the root of my C: drive.
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Dan on Fri Dec 10 17:24:36 2021
    On Friday, December 10, 2021 at 4:37:30 PM UTC-7, Dan wrote:
    Il 10/12/2021 18:30, Mel Smith ha scritto:

    I'll puzzle a bit more before slamming my head on the desk :(
    Thanks !
    -Mel

    Mel, that thing that someone suggested about the "C:\" path being
    treated by Windows >=10 as a forbidden territory lit some neurons in my brain. I think I have heard something similar in the past.

    A kind of "security policy" the Microsoft way, the kind of thing you
    hear and you try to forget a moment later, as too insane... :-)

    Dan
    Hi Dan:
    I agree.
    Its *my* machine right beside me, and now it seems like sn lien device :((
    However, that little *alien, can easily access my Win 10 machine and do anything it wants. The most important thing now is I can 'pull' files because I can't push them any more.
    It seems weird that my Win 7 is more powerful than my Win 10
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dlzc@21:1/5 to meds...@gmail.com on Mon Dec 13 06:15:47 2021
    Dear Mel:

    On Friday, December 10, 2021 at 6:24:37 PM UTC-7, meds...@gmail.com wrote:
    ...
    It seems weird that my Win 7 is more powerful than my Win 10

    Not weighing in one way or the other, but "more powerful" is also "more insecure". If a virus can write to the root of a remote computer, it can spread viruses. Fatally damage the OS.

    I had a ransomware attack on a Linux-box network drive, that targeted AutoCAD DWG files. One of the "bosses" responded to an email in a way he shouldn't have. These "virus" writers are smart, and will do whatever they can, whatever the platform lets
    them get away with. Mel, your "fly is open" on one machine, and you are complaining you cannot "feel the draft" on the other.

    David A. Smith

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to All on Mon Dec 13 08:11:50 2021
    Hi All:
    I have a way of getting older versions of Windows 10 (and am creating a version right now on a USB from September of 2020)..

    Question: Does anyone know *which* older version of windows allows writing to the root drive of a peer machine ??

    If I knew this, then I can easily get that version and overwrite my current version wit this older version ?

    Thanks,

    -Mel

    (and to David -- yes, I'm aware of the risks but I really have to try this !)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ella Stern@21:1/5 to meds...@gmail.com on Mon Dec 13 15:48:06 2021
    On Monday, December 13, 2021 at 6:11:51 PM UTC+2, meds...@gmail.com wrote:
    Hi All:
    I have a way of getting older versions of Windows 10 (and am creating a version right now on a USB from September of 2020)..

    Question: Does anyone know *which* older version of windows allows writing to the root drive of a peer machine ??

    If I knew this, then I can easily get that version and overwrite my current version wit this older version ?

    Thanks,

    -Mel

    (and to David -- yes, I'm aware of the risks but I really have to try this !)


    I consider that the solution described in the below article IS A VERY BAD PRACTICE:
    https://www.wintips.org/fix-cannot-save-create-files-on-root-drive-c-in-windows-8-1-windows-7/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Ella Stern on Mon Dec 13 18:50:33 2021
    On Monday, December 13, 2021 at 4:48:07 PM UTC-7, Ella Stern wrote:
    On Monday, December 13, 2021 at 6:11:51 PM UTC+2, meds...@gmail.com wrote:
    Hi All:
    I have a way of getting older versions of Windows 10 (and am creating a version right now on a USB from September of 2020)..

    Question: Does anyone know *which* older version of windows allows writing to the root drive of a peer machine ??

    If I knew this, then I can easily get that version and overwrite my current version wit this older version ?

    Thanks,

    -Mel

    (and to David -- yes, I'm aware of the risks but I really have to try this !)
    I consider that the solution described in the below article IS A VERY BAD PRACTICE:
    https://www.wintips.org/fix-cannot-save-create-files-on-root-drive-c-in-windows-8-1-windows-7/
    HI Ella:
    Thank you for this regedit possible solution.
    It may be bad practice but it was my work for 8 years without a problem.
    btw, I can't even write to *sub-directories* on my little Win 7 machine. Get 'access denied' of course.

    So first, I'll try your solution on the Win 7 machine and see what happens

    Please not that my little Win 7 machine has total control over my Win 10 development machine, and can read/write/edit/delete any file I choose.
    I would like the *reverse* to be true. !
    Thanks again for a possible solution
    (I'll let
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Mel Smith on Mon Dec 13 20:05:35 2021
    On Monday, December 13, 2021 at 7:50:34 PM UTC-7, Mel Smith wrote:
    On Monday, December 13, 2021 at 4:48:07 PM UTC-7, Ella Stern wrote:
    On Monday, December 13, 2021 at 6:11:51 PM UTC+2, meds...@gmail.com wrote:
    Hi All:
    I have a way of getting older versions of Windows 10 (and am creating a version right now on a USB from September of 2020)..

    Question: Does anyone know *which* older version of windows allows writing to the root drive of a peer machine ??

    If I knew this, then I can easily get that version and overwrite my current version wit this older version ?

    Thanks,

    -Mel

    (and to David -- yes, I'm aware of the risks but I really have to try this !)
    I consider that the solution described in the below article IS A VERY BAD PRACTICE:
    https://www.wintips.org/fix-cannot-save-create-files-on-root-drive-c-in-windows-8-1-windows-7/
    HI Ella:
    Thank you for this regedit possible solution.
    It may be bad practice but it was my work for 8 years without a problem.
    btw, I can't even write to *sub-directories* on my little Win 7 machine. Get 'access denied' of course.

    So first, I'll try your solution on the Win 7 machine and see what happens

    Please not that my little Win 7 machine has total control over my Win 10 development machine, and can read/write/edit/delete any file I choose.
    I would like the *reverse* to be true. !
    Thanks again for a possible solution
    (I'll let
    -Mel

    Hi Ella:
    Well I et the UAC setting to 0 in both machines, and I still get 'access denied' .
    But thank you for the suggestion .
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Tue Dec 14 09:50:16 2021
    Il 14/12/2021 00:48, Ella Stern ha scritto:

    I consider that the solution described in the below article IS A VERY BAD PRACTICE:
    https://www.wintips.org/fix-cannot-save-create-files-on-root-drive-c-in-windows-8-1-windows-7/

    I agree!

    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Tue Dec 14 09:52:01 2021
    Il 14/12/2021 05:05, Mel Smith ha scritto:

    Well I et the UAC setting to 0 in both machines, and I still get 'access denied' .

    Did you restart both PC?

    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Enrico Maria Giordano on Tue Dec 14 10:16:28 2021
    On Tuesday, December 14, 2021 at 1:52:05 AM UTC-7, Enrico Maria Giordano wrote:
    Il 14/12/2021 05:05, Mel Smith ha scritto:

    Well I et the UAC setting to 0 in both machines, and I still get 'access denied' .
    Did you restart both PC?
    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    Yes, It was a forced option anyway.
    Still no joy, and am resigned to not accessing my little win 7 machine from Win 10.
    I've gone over several additional 'fixes' from different people around the world who wish to do the same as me.
    One guy uses his older Win 7 machine as a backup machine. Then, after a Win 10 upgrade, he was no longer able to back up from his Win 10 to his Win 7 on his LAN.
    Almost the identical problem I have !
    I followed his 'fix' (very long and laborious), but it didn't work for me. The problem here is most (or all ?) of you have no working and active Win 7 machine on your local LAN with a Win 10 peer machine.
    And therefore you are not able to confirm the reality of your suggestions.
    btw, my Win 7 machine is Win 7 Pro. Version 6.1.7601, Build 7601
    Anyway, thank you all for thoughts
    Like a turtle, I'll now pull my head inside my shell for awhile.

    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jayadev U@21:1/5 to Mel Smith on Thu Dec 16 18:52:56 2021
    On 14-12-2021 11:46 pm, Mel Smith wrote:
    On Tuesday, December 14, 2021 at 1:52:05 AM UTC-7, Enrico Maria Giordano wrote:
    Il 14/12/2021 05:05, Mel Smith ha scritto:

    Well I et the UAC setting to 0 in both machines, and I still get 'access denied' .
    Did you restart both PC?
    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    Yes, It was a forced option anyway.
    Still no joy, and am resigned to not accessing my little win 7 machine from Win 10.
    I've gone over several additional 'fixes' from different people around the world who wish to do the same as me.
    One guy uses his older Win 7 machine as a backup machine. Then, after a Win 10 upgrade, he was no longer able to back up from his Win 10 to his Win 7 on his LAN.
    Almost the identical problem I have !
    I followed his 'fix' (very long and laborious), but it didn't work for me.
    The problem here is most (or all ?) of you have no working and active Win 7 machine on your local LAN with a Win 10 peer machine.
    And therefore you are not able to confirm the reality of your suggestions. btw, my Win 7 machine is Win 7 Pro. Version 6.1.7601, Build 7601
    Anyway, thank you all for thoughts
    Like a turtle, I'll now pull my head inside my shell for awhile.

    -Mel
    Hi Mel,

    I still maintain there is some permission issue or such other.

    I have multiple networks with Win 10 and Win 7 communicating with each
    other without any problem. Initially, of course, I also faced many
    problems but were eventually solved.

    Warm regards,

    Jayadev

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Jayadev U on Thu Dec 16 14:19:21 2021
    On Thursday, December 16, 2021 at 6:22:56 AM UTC-7, Jayadev U wrote:
    On 14-12-2021 11:46 pm, Mel Smith wrote:
    On Tuesday, December 14, 2021 at 1:52:05 AM UTC-7, Enrico Maria Giordano wrote:
    Il 14/12/2021 05:05, Mel Smith ha scritto:

    Well I et the UAC setting to 0 in both machines, and I still get 'access denied' .
    Did you restart both PC?
    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    Yes, It was a forced option anyway.
    Still no joy, and am resigned to not accessing my little win 7 machine from Win 10.
    I've gone over several additional 'fixes' from different people around the world who wish to do the same as me.
    One guy uses his older Win 7 machine as a backup machine. Then, after a Win 10 upgrade, he was no longer able to back up from his Win 10 to his Win 7 on his LAN.
    Almost the identical problem I have !
    I followed his 'fix' (very long and laborious), but it didn't work for me. The problem here is most (or all ?) of you have no working and active Win 7 machine on your local LAN with a Win 10 peer machine.
    And therefore you are not able to confirm the reality of your suggestions. btw, my Win 7 machine is Win 7 Pro. Version 6.1.7601, Build 7601
    Anyway, thank you all for thoughts
    Like a turtle, I'll now pull my head inside my shell for awhile.

    -Mel
    Hi Mel,

    I still maintain there is some permission issue or such other.

    I have multiple networks with Win 10 and Win 7 communicating with each
    other without any problem. Initially, of course, I also faced many
    problems but were eventually solved.

    Warm regards,

    Jayadev
    Hi Jayadev:
    Thank you for your (private) offer this morning.
    I am able to access with full access rights just *one* folder on my win 7 machine (c:\amyuni).

    I would like to know how this particular sub-directory (amyuni)is easily accessible, but others are not.

    I have visited amyuni->properties->security->permissions, and noted that the permissions 'seem' the same as at least two other folders.
    I can read and copy files from the Win 7 c:\users\ sub-dir, but cannot copy file *to* the Win 7 c:\users\ folder (access denied)/

    Thanks again for your offer. If there is some 'permission' steps you can suggest, I'll try them.

    Frustrating !.

    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Mel Smith on Thu Dec 16 15:37:03 2021
    On Thursday, December 16, 2021 at 3:19:23 PM UTC-7, Mel Smith wrote:
    On Thursday, December 16, 2021 at 6:22:56 AM UTC-7, Jayadev U wrote:
    On 14-12-2021 11:46 pm, Mel Smith wrote:
    On Tuesday, December 14, 2021 at 1:52:05 AM UTC-7, Enrico Maria Giordano wrote:
    Il 14/12/2021 05:05, Mel Smith ha scritto:

    Well I et the UAC setting to 0 in both machines, and I still get 'access denied' .
    Did you restart both PC?
    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    Yes, It was a forced option anyway.
    Still no joy, and am resigned to not accessing my little win 7 machine from Win 10.
    I've gone over several additional 'fixes' from different people around the world who wish to do the same as me.
    One guy uses his older Win 7 machine as a backup machine. Then, after a Win 10 upgrade, he was no longer able to back up from his Win 10 to his Win 7 on his LAN.
    Almost the identical problem I have !
    I followed his 'fix' (very long and laborious), but it didn't work for me.
    The problem here is most (or all ?) of you have no working and active Win 7 machine on your local LAN with a Win 10 peer machine.
    And therefore you are not able to confirm the reality of your suggestions.
    btw, my Win 7 machine is Win 7 Pro. Version 6.1.7601, Build 7601
    Anyway, thank you all for thoughts
    Like a turtle, I'll now pull my head inside my shell for awhile.

    -Mel
    Hi Mel,

    I still maintain there is some permission issue or such other.

    I have multiple networks with Win 10 and Win 7 communicating with each other without any problem. Initially, of course, I also faced many
    problems but were eventually solved.

    Warm regards,

    Jayadev
    Hi Jayadev:
    Thank you for your (private) offer this morning.
    I am able to access with full access rights just *one* folder on my win 7 machine (c:\amyuni).

    I would like to know how this particular sub-directory (amyuni)is easily accessible, but others are not.

    I have visited amyuni->properties->security->permissions, and noted that the permissions 'seem' the same as at least two other folders.
    I can read and copy files from the Win 7 c:\users\ sub-dir, but cannot copy file *to* the Win 7 c:\users\ folder (access denied)/

    Thanks again for your offer. If there is some 'permission' steps you can suggest, I'll try them.

    Frustrating !.

    -Mel
    Hi Jayadev:
    it is now working !!
    I was adding permission to everyone in C:\ rather than the network C Shared drive. Wow What a revelation.
    Thanks for your support.
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Dec 17 09:51:00 2021
    Il 17/12/2021 00:37, Mel Smith ha scritto:

    it is now working !!
    I was adding permission to everyone in C:\ rather than the network C Shared drive. Wow What a revelation.

    Great!

    EMG

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to Enrico Maria Giordano on Sat Dec 18 20:03:53 2021
    On Friday, December 17, 2021 at 1:51:03 AM UTC-7, Enrico Maria Giordano wrote:
    Il 17/12/2021 00:37, Mel Smith ha scritto:

    it is now working !!
    I was adding permission to everyone in C:\ rather than the network C Shared drive. Wow What a revelation.
    Great!

    Thanks ! Its good to be in control of my machines again :)
    But, my main development machine is truly failing, so I bought today a new laptop and will get delivery at the end of December.
    It is a Dell Inspiron 3510 15.6 inch display, 8GB Ram, 512GD SSD, etc, etc. Then, comes the transfer of all my systems to it from my backup: a Western Digital Passport drive.
    Arggg ..
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick Lipkin@21:1/5 to All on Wed Dec 22 06:25:25 2021
    Enrico

    YES .. agreed, you must add the group Everyone with rights to your share .... just curious why you have to map a drive .. when you can use a UNC instead ??

    Use( "\\sales\myapp\Customer.dbf" ) ... where the shared computer name is \\Sales and the shared folder is \myapp

    Rick Lipkin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dlzc@21:1/5 to Rick Lipkin on Wed Dec 22 07:09:26 2021
    Dear Rick Lipkin:

    On Wednesday, December 22, 2021 at 7:25:26 AM UTC-7, Rick Lipkin wrote:

    I am not Enrico, but...

    ... just curious why you have to map a drive .. when you can use a UNC instead ??

    Use( "\\sales\myapp\Customer.dbf" ) ... where the shared computer name
    is \\Sales and the shared folder is \myapp

    Drive mapping under earlier version of Windoze, produced faster search results (at minimum). May or may not still be an issue in Windows 10.
    <https://superuser.com/questions/1628244/what-are-the-benefits-of-windows-map-network-drive>
    ... and there have been cases when the UNC path was faster (Server 2016 for example).

    I periodically have to have a replacement "server" running (eg: \\sales AND \\sales2) at the same time during transitions, and if you map a drive, then you don't have to touch your code as often when that happens. Whatever server you've mapped your
    drive to, is the one the code talks to.

    David A. Smith

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mel Smith@21:1/5 to dlzc on Wed Dec 22 07:28:31 2021
    On Wednesday, December 22, 2021 at 8:09:27 AM UTC-7, dlzc wrote:
    Dear Rick Lipkin:

    On Wednesday, December 22, 2021 at 7:25:26 AM UTC-7, Rick Lipkin wrote:

    I am not Enrico, but...
    ... just curious why you have to map a drive .. when you can use a UNC instead ??

    Use( "\\sales\myapp\Customer.dbf" ) ... where the shared computer name
    is \\Sales and the shared folder is \myapp
    Drive mapping under earlier version of Windoze, produced faster search results (at minimum). May or may not still be an issue in Windows 10.
    <https://superuser.com/questions/1628244/what-are-the-benefits-of-windows-map-network-drive>
    ... and there have been cases when the UNC path was faster (Server 2016 for example).

    I periodically have to have a replacement "server" running (eg: \\sales AND \\sales2) at the same time during transitions, and if you map a drive, then you don't have to touch your code as often when that happens. Whatever server you've mapped your
    drive to, is the one the code talks to.

    David A. Smith

    Hi David:
    I agree, and also I have many batch files where I use the mapped J: drive which is 'Persistent'. Works great now.
    -Mel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)