1
Programming / Re: [Classic Rexx] Set Long File Name
« on: April 23, 2025, 09:31:16 pm »
Someone may try to experiment with SysMoveObject and tell the rest of us if it is possible to use?
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi Jan-Erik
Sorry having added a lof of codes
I comment the 2 initial SET line into de macaddr.cmd and use those from config.sys
uncomment bof lines if you would like set these two vars without config.sys update
e.g. remove /* and */ of both lines and set value to 1 or 0
/* 'SET WOL=1' */
/* 'SET NET=1' */
Hi!
What is the name returned from a nslookup 192.168.0.106 ?
Is it the one under nostname from config.sys ?
Today, my machines address is 192.168.0.104,Code: [Select]H:\tmp>nslookup 192.168.0.104
*** Can't find server name for address 192.168.0.1: Non-existent host/domain
*** Default servers are not available
config.sys has,Code: [Select]SET HOSTNAME=ARCAOS-44454C4
Seen.
I have a specific ARCAOS host_name under config.sys
Into my box and because my PC can be booted OS/2 or Windows using same interface, I have set a name to the corresponding @ip / macaddr
Using nslookup on my PC @ip I could see that my computer_name set into the box differs from the config.sys and after updating config.sys, it works
With WOL=0 and NET=0, it display all local equipments.
When I set WOL=1, I have all equipment but also many
(icoplte (icoplte (icoplte (icoplte (icoplte (icoplte ....
With NET=1, I have the folder created as well all found equipment but none have an icon !That also mean that I need help to create the artwork for it.
Where are icon found ?
I would suggest a change into the rexx which could prevent this kind of no returned result.That's something to fall back on, as several of you seem to not be able to get "host" to return proper info
Check the interface used and look for its @ip followed by a nslookup on the @ip which will return the hostname and then run into the process like if the
the host_name was found into os2env variables....