Help needed on Linux, NTFS and 16bit exe files

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

MikeGL
Posts: 1010
Joined: Thu Sep 01, 2011 2:49 pm

Re: Help needed on Linux, NTFS and 16bit exe files

Post by MikeGL »

First, I checked with 'dir' command on the first line,
then executed an example 16bit app.
The error msg returned is not comprehensive.

The 16bit app example is just a light hex editor, but all of my other 16bit app which usually works in console returns this error also.

Image
User avatar
stegemma
Posts: 859
Joined: Mon Aug 10, 2009 10:05 pm
Location: Italy
Full name: Stefano Gemma

Re: Help needed on Linux, NTFS and 16bit exe files

Post by stegemma »

MikeGL wrote:First, I checked with 'dir' command on the first line,
then executed an example 16bit app.
The error msg returned is not comprehensive.

The 16bit app example is just a light hex editor, but all of my other 16bit app which usually works in console returns this error also.

Image
Try to move the app in a simpler folder:

C:\Exe16bit

for sample.
MikeGL
Posts: 1010
Joined: Thu Sep 01, 2011 2:49 pm

Re: Help needed on Linux, NTFS and 16bit exe files //SOLVED

Post by MikeGL »

Wow, hahah you're amazing, that trick you suggested worked!
That solved the problem.
All 16bit binary is running now.
Thanks a lot!!


edit: what causes this prob? Is it some ENV variables on my setup?
Strange behaviour for a normally working 16bit app if ran in other systems.
Last edited by MikeGL on Tue Jun 23, 2015 3:00 pm, edited 1 time in total.
User avatar
stegemma
Posts: 859
Joined: Mon Aug 10, 2009 10:05 pm
Location: Italy
Full name: Stefano Gemma

Re: Help needed on Linux, NTFS and 16bit exe files //SOLVED

Post by stegemma »

MikeGL wrote:Wow, hahah you're amazing, that trick you suggested worked!
That solved the problem.
All 16bit binary is running now.
Thanks a lot!!
Great!

Maybe you can try even my very old Drago, on chess page in www.linformatica.com
jwes
Posts: 778
Joined: Sat Jul 01, 2006 7:11 am

Re: Help needed on Linux, NTFS and 16bit exe files //SOLVED

Post by jwes »

MikeGL wrote: edit: what causes this prob? Is it some ENV variables on my setup?
Strange behaviour for a normally working 16bit app if ran in other systems.
It may be spaces in the path. Try putting quotes around it.
MikeGL
Posts: 1010
Joined: Thu Sep 01, 2011 2:49 pm

Re: Help needed on Linux, NTFS and 16bit exe files //SOLVED

Post by MikeGL »

stegemma wrote:
MikeGL wrote:Wow, hahah you're amazing, that trick you suggested worked!
That solved the problem.
All 16bit binary is running now.
Thanks a lot!!
Great!

Maybe you can try even my very old Drago, on chess page in www.linformatica.com
Will check some of your programs.
Thanks again for the help.

jwes wrote:
MikeGL wrote: edit: what causes this prob? Is it some ENV variables on my setup?
Strange behaviour for a normally working 16bit app if ran in other systems.
It may be spaces in the path. Try putting quotes around it.
Tried the double quote trick by doing a
SET %HOMEPATH% and
SET %USERPROFILE% with double quotes, still won't work.
Tried a shortcut file, also tried to modify those property settings in shortcut file (.lnk) for compatibility, to no avail.

Anyway, some guys have similar problems posted last year. I will try to dig the web further.

Same problem with this admin guy here:
http://community.spiceworks.com/topic/5 ... 2-r2-share


elated regards,
Jesse Gersenson
Posts: 593
Joined: Sat Aug 20, 2011 9:43 am

Re: Help needed on Linux, NTFS and 16bit exe files

Post by Jesse Gersenson »

'gdisk' will show you detailed information about partitions and would show any differences between the Linux NTFS and Windows NTFS partitions.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Help needed on Linux, NTFS and 16bit exe files //SOLVED

Post by Jim Ablett »

MikeGL wrote:Wow, hahah you're amazing, that trick you suggested worked!
That solved the problem.
All 16bit binary is running now.
Thanks a lot!!


edit: what causes this prob? Is it some ENV variables on my setup?
Strange behaviour for a normally working 16bit app if ran in other systems.
Windows supports long filenames and allows spaces in file names. DOS does not, so when a filename is longer than 8 characters, DOS will truncate the file name to an abbreviated form that is 8 characters long. For example, the folder "Program Files" is displayed in DOS as "Progra~1".