Hello!
How to display in JavaScript code any Windows environment variable?
How to display in JavaScript code any Windows environment variable?
I think it is possible using Internet Explorer ActiveX and the oShell.Run () command. Can not have .bat on the client side.
Thank you.
Search found 39 matches
- 20 Aug 2018 12:04
- Forum: DOS Batch Forum
- Topic: Windows environment variable
- Replies: 1
- Views: 2115
- 02 Jul 2015 12:21
- Forum: DOS Batch Forum
- Topic: Working with variable
- Replies: 2
- Views: 2834
Working with variable
Hello guys. In the code below, in the first loop to enter the value 1234 in the ID field. In the second loop, key to enter without entering any value in the ID field. It is considered the previous value. How to correct it? Delete the variable? Thanks. @echo off SET create_user="criar_usuario.cm...
- 30 Jun 2015 13:52
- Forum: DOS Batch Forum
- Topic: User creation by command - NET USER
- Replies: 9
- Views: 8628
Re: User creation by command - NET USER
I did not succeed to simulate. And you?
- 30 Jun 2015 06:27
- Forum: DOS Batch Forum
- Topic: User creation by command - NET USER
- Replies: 9
- Views: 8628
Re: User creation by command - NET USER
It is Windows Server 2003 Standard Edition SP2.
For the company's IT security policy, this link is not available for consultation.
For the company's IT security policy, this link is not available for consultation.
- 29 Jun 2015 11:11
- Forum: DOS Batch Forum
- Topic: User creation by command - NET USER
- Replies: 9
- Views: 8628
Re: User creation by command - NET USER
D:\>NET USER 12345678901 ABcd@123 /ADD /FULLNAME:"JUAN DA SILVA DIAS" /comment:"CPF 123.456.789-01" /logonpasswordchg:yes The option /LOGONPASSWORDCHG:yes is unknown. The syntax of this command is: NET USER [username [password | *] [options]] [/DOMAIN] username {password | *} /A...
- 29 Jun 2015 10:32
- Forum: DOS Batch Forum
- Topic: User creation by command - NET USER
- Replies: 9
- Views: 8628
Re: User creation by command - NET USER
Create the user with parameter to be forced to change the password to login.
- 29 Jun 2015 08:21
- Forum: DOS Batch Forum
- Topic: User creation by command - NET USER
- Replies: 9
- Views: 8628
User creation by command - NET USER
How do I create a local user net user command, and user owned display marking (enabled) field: "User must change password at next logon"?
- 26 Jun 2015 11:05
- Forum: DOS Batch Forum
- Topic: Escape Character
- Replies: 1
- Views: 2624
Escape Character
Hello, everyone. The content of the WS script variable (below) has a space. And it generates an error. It can be used escape characters? If yes, how can it be done? Thank you. @echo off SET STRCOMPUTER=Server003 SET STRLOGIN=%1 SET WS="ws0910 Ord_51x.bat.lnk" if not exist "\\%STRCOMPU...
- 25 Jun 2015 13:49
- Forum: DOS Batch Forum
- Topic: It is string consists of digits?
- Replies: 6
- Views: 4531
Re: It is string consists of digits?
I expressed myself badly. Excuse me. Yes the code is well done. But needs some adjustments. Therefore, it is returning as digits: space, empty, comma, for example: D:\>test a other characters found D:\>test 9 all digits D:\>test all digits D:\Script\Cria_atalho_vbs\teste>test , all digits D:\Script\...
- 25 Jun 2015 13:34
- Forum: DOS Batch Forum
- Topic: It is string consists of digits?
- Replies: 6
- Views: 4531
Re: It is string consists of digits?
I did not like merge your code in my above.
I want a code that do:
It is assigned a value in the string by argument, and then do the validation if they are only digits.
I want a code that do:
It is assigned a value in the string by argument, and then do the validation if they are only digits.
- 25 Jun 2015 12:08
- Forum: DOS Batch Forum
- Topic: It is string consists of digits?
- Replies: 6
- Views: 4531
It is string consists of digits?
Hello. My script is not working. I want to check if you have any other than I type. Code below: SET STRCPF=%1 echo.%STRCPF%>len for %%a in (len) do set /a len=%%~za -2 SETLOCAL ENABLEDELAYEDEXPANSION FOR /L %desloca% in (1,1%len%) DO ( echo desloca=%desloca% set "X=!STRCPF:~%desloca%,1!" I...
- 06 Jun 2014 07:01
- Forum: DOS Batch Forum
- Topic: Cache - *.BAT
- Replies: 4
- Views: 3670
Re: Cache - *.BAT
This occurred a few times. And it's kind of confusing. When I make a functional version of the code (no errors) in c:\Programs\A. And develop another version of the code. I suddenly realize that the development is not going well, there are errors. And go back to develop the previous version (which w...
- 05 Jun 2014 13:44
- Forum: DOS Batch Forum
- Topic: PSEXEC + WMIC
- Replies: 1
- Views: 3112
PSEXEC + WMIC
Dear sirs. When I run the statement (below), it does not end. Manually digit CTRL + BREAK. It is finalized. psexec \ \ server_01 wmic useraccount WHERE "Name = 'user_new'" SET PasswordExpires = FALSE I made tests closing in 5 seconds, sometimes 5 minutes. No matter what time the command is...
- 03 Jun 2014 12:07
- Forum: DOS Batch Forum
- Topic: Cache - *.BAT
- Replies: 4
- Views: 3670
Cache - *.BAT
Hello, everyone.
There is a cache (storage) on Windows files (bat) memory that were executed?
Thank you.
There is a cache (storage) on Windows files (bat) memory that were executed?
Thank you.
- 28 May 2014 06:16
- Forum: DOS Batch Forum
- Topic: Environment variable
- Replies: 1
- Views: 2305
Environment variable
Hello, everyone.
When it executes a bat file type, there is an environment variable that is stored the name of the bat file running?
thank you
When it executes a bat file type, there is an environment variable that is stored the name of the bat file running?
thank you