SimpleSi Posted February 5, 2016 Posted February 5, 2016 Got a prog (old Junior Lib) running on an XP virtual machine inside a Win7 host. The prog needs to read from USB stick using drive letters Win7 virtual machine only passes on the real USB drive (G: ) as a mapped network drive thinginmajig that the prog doesn't think is a real drive letter (and lets face it - its not wrong!) Anyone got a really cunning plan to get around this. No Google solutions (or I think this would work) accepted You must actually run an XP Virtual Machine on a Win7 host and prove it can be done Simon PS Can't wait for the standard irrelavent replies to flood in
ZeroHour Posted February 5, 2016 Posted February 5, 2016 Does it need to be a drive letter or can it be a folder on c:\?
twin--turbo Posted February 5, 2016 Posted February 5, 2016 does "assign" or "subst" not work anymore in CMD? so long since I have used them. TT 1
Arthur Posted February 5, 2016 Posted February 5, 2016 (edited) Got a prog (old Junior Lib) running on an XP virtual machine inside a Win7 host. Can the application be made to run on Windows 7 (on newer)? You might be able to use Microsoft's Application Compatibility Toolkit to fix certain issues. The prog needs to read from USB stick using drive letters What is the purpose of the USB drive? Is it some kind of license dongle? I have never used Junior Lib. does "assign" or "subst" not work anymore in CMD? so long since I have used them. It will probably have the same issue as the mapped network drive (not a real drive). Edited February 5, 2016 by Arthur
witch Posted February 5, 2016 Posted February 5, 2016 (edited) We have a very old version of Junior Lib - I've been here 12 years and it was here before me - and we have it running on a Windows 7 machine with no issues. The Librarian does the backup to a USB stick every night. I'm sorry if you think this is irrelevant but if you can run your program on a Win 7 machine you won't have any more issues. Edited February 5, 2016 by witch
NviGate_Systems Posted February 5, 2016 Posted February 5, 2016 You can use the commands pushd and popd to help with that. You would need a batch script to integrate it though. How it works is "pushd" assigns a random drive letter to a mount point or folder, useful for programs that don't know how to deal with network addresses or if the usage scenario doesn't really need a dedicated drive letter mapping, or in this case when you have no control over the core system. When the program is finished, you can simply use "popd" to disconnect that association and drive letter. You can capture the drive letter using various methods in batch and then pass it on, but if it's automated backup it might not always be the same drive letter. By the sounds of it since it's running on Windows 7, you might be using XP Mode, which is limited. If you have spare licenses you can move to VirtualBox which will allow you to capture a USB drive by means of a filter driver and gives you native access to USB devices. I'm not familiar with the program you are using that needs to do backups but I can send you samples scripts I use in my deployment scenarios where I mount networks paths to a local drive letter for cmd batch use. 1
LeMarchand Posted February 7, 2016 Posted February 7, 2016 We have a very old version of Junior Lib - I've been here 12 years and it was here before me - and we have it running on a Windows 7 machine with no issues. The Librarian does the backup to a USB stick every night. I'm sorry if you think this is irrelevant but if you can run your program on a Win 7 machine you won't have any more issues. I'd just like to echo this. The version we have also runs on Windows 8. What version do you have? Would using a W8 host + HyperV improve things if it's so old that it will only run on XP?
SimpleSi Posted February 8, 2016 Author Posted February 8, 2016 In aswer to all so far haven't got original disk so that's why it was virtualised JL only looks for "real" removable drives - it ignores c: Will try a bit of subst - I'd forgotton that ! Its not XP mode - its an XP machine virtualised using Disk2VHD Never header of pushd - will google and try that
Michael Posted February 8, 2016 Posted February 8, 2016 Got a prog (old Junior Lib) running on an XP virtual machine inside a Win7 host. The prog needs to read from USB stick using drive letters Win7 virtual machine only passes on the real USB drive (G: ) as a mapped network drive thinginmajig that the prog doesn't think is a real drive letter (and lets face it - its not wrong!) Anyone got a really cunning plan to get around this. No Google solutions (or I think this would work) accepted You must actually run an XP Virtual Machine on a Win7 host and prove it can be done Simon PS Can't wait for the standard irrelavent replies to flood in If you're trying to import Students.csv (by the sounds of things), you can change the drive letter by typing over it, even though it's not immediately obvious. If you're backing up, you can backup to a server share or UNC path. Either works fine. 1
SimpleSi Posted February 9, 2016 Author Posted February 9, 2016 If you're trying to import Students.csv (by the sounds of things), you can change the drive letter by typing over it, even though it's not immediately obvious. WOWEEE!! i DIDN'T know that Simon PS already doing the backup - this is for student import
Michael Posted February 9, 2016 Posted February 9, 2016 WOWEEE!! i DIDN'T know that Simon PS already doing the backup - this is for student import Showing my age - amazing the rubbish I seem to remember! Happy to help!
dry Posted February 9, 2016 Posted February 9, 2016 You can download the JuniorLib installation files from their website fairly easily- you only need your school postcode and customer number to access the support area. Then I'd be binning that XP VM pronto!
john Posted February 9, 2016 Posted February 9, 2016 You can download the JuniorLib installation files from their website fairly easily- you only need your school postcode and customer number to access the support area. Then I'd be binning that XP VM pronto! This is @SimpleSi he just won't let go of his XP and older fetish but we love him for it
SimpleSi Posted February 9, 2016 Author Posted February 9, 2016 I only went to XP because Win98SE passed away Now I'm all about Win10 Simon
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now