Version problem


  1. Posts : 4
    windows 7 professional 64 bit
       #1

    Version problem


    I have a lot of programs that I wrote in the Euphoria programing language. They all work with my Windows 7 Premium desktop. I bought a new Windows 7 Professional laptop and a lot of the programs don't work. Mostly the DOS programs. Things like Xcopy don't work. I see that both Premium and Professional use DOS Version 6.1.7.7601. So I don't get it.

    Thank you,
    Don Cole
      My Computer


  2. Posts : 2,468
    Windows 7 Ultimate x64
       #2

    What does exactly means "don't work"? Error message? Crash?

    A wild guess, you've stated that you have 64 bits Windows and trying to run DOS programs. All variants of 64 bits Windows have completely dropped compatibility for DOS, so they don't run at all, with a clear error message about that.
      My Computer


  3. Posts : 4
    windows 7 professional 64 bit
    Thread Starter
       #3

    don'twork


    I the case xcopy it doesn't copy into the sub folders.
    It is working in Windows Premium which is also 64 bit,
      My Computer


  4. Posts : 2,468
    Windows 7 Ultimate x64
       #4

    Xcopy is not a DOS program, it's a built-in Windows executable.
    It's behavior has nothing to do with the version, it's has been working pretty much the same way since decades ago.
    What error are you getting? Almost always failures are cleary stated in the command output, and the causes can be very diverse to guess.
      My Computer


  5. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #5

    doncole said:
    I have a lot of programs that I wrote in the Euphoria programing language. They all work with my Windows 7 Premium desktop. I bought a new Windows 7 Professional laptop and a lot of the programs don't work. Mostly the DOS programs. Things like Xcopy don't work. I see that both Premium and Professional use DOS Version 6.1.7.7601. So I don't get it.

    Thank you,
    Don Cole
    To me it seems the problem is more than DOS programs ...

    Here is how you can post screen prints of the errors you see:
    Screenshots and Files - Upload and Post in Seven Forums
      My Computer


  6. Posts : 5,605
    Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
       #6

    There might be a permissions problem, are you using an elevated CMD prompt or tried robocopy? To see help in robocopy type robocopy /? then touch enter or return.

    You might even want to try Powershell.


    Related:
    To see robocopy CMDs: http://ss64.com/nt/robocopy.html

    Powershell CMDs: PowerShell commands | PowerShell | SS64.com
      My Computer


  7. Posts : 4
    windows 7 professional 64 bit
    Thread Starter
       #7

    Alejandro85 said:
    Xcopy is not a DOS program, it's a built-in Windows executable.
    It's behavior has nothing to do with the version, it's has been working pretty much the same way since decades ago.
    What error are you getting? Almost always failures are cleary stated in the command output, and the causes can be very diverse to guess.
    I guess I'm not explaining problem properly or I don't know what I'm talking about. The Euphoria programing language has a command called system_exec. Here are docs for it:
    Syntax: i1 = system_exec(st, i2)
    Description: Try to run the command given by st. st must be a command to run
    an executable program, possibly with some command-line arguments.
    If the program can be run, i1 will be the exit code from the
    program. If it is not possible to run the program, system_exec()
    will return -1. i2 is a code that indicates what to do about the
    graphics mode when system_exec() is finished. These codes are the
    same as for system():
    When i2 is 0, the previous graphics mode is restored and the
    screen is cleared.
    When i2 is 1, a beep sound will be made and the program will wait
    for the user to press a key before the previous graphics mode is
    restored.
    When i2 is 2, the graphics mode is not restored and the screen is
    not cleared.


    If I go to the command line and type 'notepad' notepad opens normally. If I run the euphoRia program, a=system_exec{"notepad",2) notepad opens normally and a returns 0.
    If I type, from the command line, "xcopy /y /h /r /k /s e:\euNFL15 "f:\back_up\" all the files get printed to the screen but they don't copy. Same thing if I run it as a euphoria program.
    Actually the program uses system() not system_exec(). If I use system then nothing happens at all. All this is using Windows 7 Professional. If run on my Windows 7 Premie desktop, all my euphoria programs work normally.
    So it seems that I have to do is change my laptop Window 7 Professional to Windows 7 Prename. I'm not sure how to do that.
    Don Cole
      My Computer


  8. Posts : 5,642
    Windows 10 Pro (x64)
       #8

    I believe your problem is a permission issue. I'm assuming the "E" and "F" drive are shared between the two systems? If so you need to adjust the permissions for both to be able to access it. I don't know for sure, I'm not there. But the issue is not because one is Professional and the other is Home Premium, that has nothing to do with it.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:43.
Find Us