shared drive cannot run .exe file while using windows 7 [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have a application called MARN.EXE which stores in a shared drive and works fine on our Windows XP system.
However since we use Windows7, we cannot run this EXE file. error is
Can't run 16-bit Windows program
Cannot find file {filepath\MARN.EXE} (or one of it's components). Check to ensure the path and filename are correct and that all required libraries are available.
I'm sure I have the Full Control to that shared drive folder.
and if I copy this folder to my local laptop, it runs fine. So seems not Windows7 problem.
Does anyone know what's the issue? Thank you.
(In properties
Target: "X:\Cusdfhr Cweihe\CS 1 Svc100\Psqw\MARN.EXE" PDAS.MDB
Start in: "X:\Cusdfhr Cweihe\CS 1 Svc100\Psqw"
)

The problem is the path. Old 16-bit programs actually run on Win7 BUT there are some restrictions to the folder names. Removing spaces, dashes, etc. should do the trick. Just replace whitespaces with _ and don't use long folder names.

Related

How can I delete a file with extension ".." in windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I mistakenly created a large file on a windows drive mounted in a linux using touch.
touch /mnt/<my_win_drive>/my_super_file...
Notice that the file extension is in ".."
I am using windows 7 but I assume it should be the same for all windows versions.
Now I can easily remove it from linux:
rm /mnt/<my_win_drive>/my_super_file...
But if I try to remove it from explorer then it fails miserably saying that he cannot find the file:
Could not find this item
This is no longer located in <my_win_drive>
Verify the item's location and try again.
If I try using cmd, it's all the same:
cd <my_win_drive>
rm my_super_file... (note that tab-autocomplete works)
rm: cannot lstat `my_super_file...': No such file or directory
So what's the big deal if one can delete the file from linux you'd ask.
Well, the problem is that windows explorer allows you to copy such a file.
In my particular case, my_super_file was not created by touch but is actually a 4Gb file that I copied with the wrong name on my shared_drive, then on my desktop.
Now I a am stuck with a large file that I cannot move from my desktop.
Any idea how to get rid of it other than formatting my drive?
Two options:
Use the \\?\ syntax which will bypass the usual file parsing rules:
del "\\?\c:\pathtoyour\file..."
Capture the legacy 8.3 name with dir path /x then delete:
del "file~id"

migrating any windows program to another pc (without installer GUI) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am looking for a way to remotely install a program to other computer units running Windows on the fly ,without the need of running the installer steps on each computer (next,next,finish...) all over again , .exe installers don't usually have an easy way to do this without using the GUI installer.
a solution that i came up with , running the installer on a single pc
and try to trace each file the installer adds (location,file names,registry files) using FileSystemWatcher then copy these files and send them to the desired hosts that need the program installed with the location of each file will this work ? is there any easier implementation
the problem with FileSystemWatcher that although it detectes which files have been added,edited or deleted its not capable to tell which process did the change ,Why would i need to know ?,other programs depends alot on files and will keep editing them so i need to isolate the installer process to easily study how its functioning and what files are added..
the only way that i know to overcome this problem is developing a file system filter driver...
please give me your opinion or some recommendations on which is the best way to do this ,sorry for my bad english .
Almost every modern installer has some way to perform a silent install. You may need to do some digging to find the answers, or ask the publisher. Try running the installer with /? as a command line switch and see what it tells you.

Where is "xcopy" usually located on a development machine? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have a build process that needs to use xcopy. I am getting an error, and I want to make sure that it is finding the command ok.
But google is not helpful when searching for where xcopy would be located on my (or my build) machine.
What is the file path to XCOPY?
Usually %WINDIR%\system32 e.g. C:\Windows\system32.
Be aware that on a 64-bit machine, there's some magic going on with the result that what appears to be C:\Windows\system32 is actually C:\Windows\SysWOW64. However for your purposes I don't believe this should matter.
xcopy.exe is located under C:\Windows\system32\xcopy.exe. There also exists a 32-bit version under C:\Windows\SysWOW64\xcopy.exe if you're running an x64 version of Windows.
The following command line show where the xcopy.exe file is located so it is equivalent to where xcopy.exe command, but it works in any Windows version:
for %a in (xcopy.exe) do #echo %~$path:a
If you really want it to be accurate, you should use the same method Windows uses to load an executable.
Where is a 3rd-party utility including source, that has an excellent explanation of how Windows locates an executable, dll, etc. It also matters whether you run it via ShellExec or CreateProcess

What are these hidden files in my home directory? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
A friend of mine is showing me how to use the shell (on my mac) and I used ls -a to look at all of the files in my home directory and there are a few that I'm wondering if they're garbage.
The ones that seem non-native to the computer (I'm running Mountain Lion)
.cups
.drjava
.nbprofiler
.netbeans
.profile
I googled netbeans (and "cups" unsuccessfully) and it seems like netbeans is an IDE, but I never installed it and it's not on my computer. I'm just curious if some of these files are garbage that piggybacked here on other downloads. Thanks for any knowledge you guys might have of this!
All of the files that you mentioned are part of Mac OS X already. Cups is to manage printers, netbeans is an IDE, drjava is for writing java applications, nbprofiler is to uncover memory leaks, and .profile can be used to set up aliases that act as shortcuts to commands. It is an optional file which tells the system which commands to run when the user whose profile file it is logs in. Hope this helped!

How can I put the desktop files on other drive, e.g. D:? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I use Win7 and usually I put some files on my desktop so that I can access them easily. But I like to backup files on other driver instead of drive C. So I want to find a way that I can put those files on my desktop while they are stored on D drive. Is it possible and how to do? Thanks!
I hope to access them easily: means that they can be saw directly on desktop.
You could tweak registry settings with earlier versions of Windows so that the USER directory is located on other drives: that is no longer the case since Windows 7.
The closest you can come to doing what you want to do is placing your files on the D: drive, and dragging a shortcut onto your Desktop (you can also create a symbolic link to your desktop directory, but that's more trouble, and there's no real advantages).
Perhaps a safer alternative is to use the vanilla Windows functionality, but use one of the online backup services like Mozy to keep the files safe.
You can put the files onto your D drive and right click on each file and click "Send To" then click "Desktop(create shortcut)".

Resources