... maybe a solution ? ( Alarm.exe is installed on the server ) http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27576&p=153877&hilit=computername#p153877 http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30839&p=177539&hilit=computername#p177539 how it works in short ...
When i execute an application with Remote Desktop (TS) , the function GetEnv( "COMPUTERNAME" ) return the NAME of the SERVER and not the name of the workstation that execute Remote Desktop .
... this manifest file. This works for me but it prompts for the user password. Code: cStrg := "runas /noprofile /user:" + GetEnv( "COMPUTERNAME" ) + "\" + GetEnv( "USERNAME" ) + " TELNET" winexec( cStrg ) @Rick: when you use winexec waitrun etc... ...
... windows: 1. Bring up printer properties and Share printer. 2. Create batch file with the following contents. net use lpt1 /delete net use lpt1 \\%computername%\PRINTERSHARENAME /persistent:yes rem replace PRINTERSHARENAME with the name you used. 3. Create link to batch file in startup folder. ...
... reinstalacion del s.o. Aunque eso puede ser un mal menor. A mi me parece que la mejor solucion es buscar un identificador unico en la red, llamese computername, mac address o el que sea y luego ya una tabla que contenga id estacion/ documento/ impresora/ preview/ printer dialog. En mi experiencia, ...
... v0.409 http://code.google.com/p/fivewin-contributions/downloads/list?saved=1&ts=1310806811 v.0409 ------ + Add Specials Items: Page xx of yy, ComputerName, UserName, Date Report, TimeStamp,... -> Check (45) FuncItem.prg + Check ProdList.prg to see special item : Page xx of yy
... PSEUDOCODIGO para hacer un fichero de texto como bloqueo: nHandle:= FCreate(CODIGO_USUARIO+ ".log", MODO COMPARTIDO) fwrite(nhandle, computername()) Si queremos saber si CODIGO_USUARIO esta conectado solo es necesario mirar si existe su log y si existe entonces intentar abrirlo en ...
Hello Otto 1 . Check if the wireless is ON FOR nX := 1 TO 10 inetinit() aIpDNS:=InetGetHosts(Getenv("ComputerName")) inetcleanup() IF len(aIpDNS) >= 1 IF aIpDNS[1] == "127.0.0.1" ::lRete := FALSE ELSE ::lRete := TRUE exit ENDIF ELSE ::lRete := FALSE ENDIF ...
EN LA LINEA DE COMANDO DEL MSDOS DA SET Y TE DARA UNA LISTADE VARIABLES Y UTILIZANDIO Getenv("computername") EN TU PROGRAMA POR EJEM. SE PUEDEN HACER ALGUNAS COSAS EN FIN A LOMEJOR SE TE OCURRA ALGO.
... GetEnv( cNombreVariable ) la cual obtiene el contenido de variables internas de windows por ejemplo ?getenv( "WINDIR" ) // c:\windows ?getenv( "COMPUTERNAME" ) // en mi caso "CARLITOSPC1" ?getenv( "USERNAME" ) // en mi caso "VARGAS07" dando un set en le prompt puedes obtener una lista de las ...