Variable Related Problems & Solutions

34 tags
Refine Tags
Search Tags:

Start a discussion

Results 1 - 30 of 34
[Solved] Store Variable from InputBox and use in Another Sub
Summary: I want to add 2 buttons in the QAT and press button1 to set a value for row height (eg 28), then press button2 to set the height of the active row to...

[Solved] How to set a variable to content of a text file?
Summary: I'm creating a server-based chat program, however I'm having a problem with storing the content of the text file into a variable. This is my code: :s...

[Solved] Can't change variable within Access 2003 macro
Summary: I have an Access 2003 report that I need to export, to separate files for separate recipients. Currently, I do this by having separate copies of the r...

[Solved] CMD BAT Script use variable from XML file
Summary: Hello all, I hope somebody can help me. Ive following challange: I need to write a CMD Script that will read a specific string from an XML file and us...

Concatenation of variables(not the contents) to make a varia
Summary: I am writing a long script for two weeks ago and now due to the way whose it's written, I need to define a variable name by concatenation of two exist...

How to use a template and variable name to count some values
Summary: I use a template as <xsl:template name="myTemplate"> and I need to count the amount of level nodes whose values are "ON" and "OFF". The final rep...

Unable to set Varibale based on choice cmd.
Summary: Hey all, This is my first time posting here. I'm new to batch programming. I am using the choice cmd to check for key hits, w, s, d w and s move your ...

Calculating Variables In Visual Basic
Summary: I need help with making a calculator in VB. The calculator solves problems like this: 5x +7 - 3 = 66 - 90 * -5 Instead of the usual x + y = z, I am tr...

[Solved] How Do i load batch variables from a file
Summary: Hey guys i was wondering how to load a variable from a file, anyone know? thanks for any feedback Domo! ...

[Solved] Searching variables in a batch file
Summary: What I basically want to do is to search all the variables, or specified variables, for a cirtant word, letter or number. I know this can be easily do...

[Solved] Saving part of a file as a variable.
Summary: I want to open a file called text1.txt find the line that contains <id>example</id> and save example to the variable %ID%. I know that I want to...

[Solved] Make Input To Variable Name.
Summary: I need to take user input and make the input a variable name. set /p input= set %variable% = "Yes" ^ So inputing 2 will - " set %2% = "Ye...

[Solved] if %var% == 1 goto blah isn't working?
Summary: I have a batch file, and was making an if statement. Then I went in and tested it. It closed, so I got an error log that said 'goto was unexpected at ...

[Solved] Excel Problem (referring to cell contents in function)
Summary: I have two worksheets, one with debits categorised by date in the first column, then the amount of the debit. The second worksheet is a total of credi...

[Solved] BIOS error system variable storage corrupted
Summary: Hi! Got a bug on starting my laptop... It says: 00C08271: System variable storage is corrupted, using default values. Press F1 to continue, F2 to ente...

[Solved] variable in a variable
Summary: This is what I am trying to do: set %x%1=%s1:~%v%,3% which is: set t1=%s1:~0,3% The problem is that it thinks %s1:~% and %,3% are variables with a v b...

Batch Input Variable
Summary: Hello, I got in Batch Scriping like a year ago, but I'm still fairly a begginer... I'm not making an simple count file, but I have no idea how to make...

i need help with variable of set /p
Summary: this is basically what i want it to look like echo please specify a book you want to read by typing in a letter if exist .\Genesis.txt echo A) Genes...

set /p command problem
Summary: Hi, I am trying to make a simple batch file but I am frustrated about the problem below. Just in case, I have only begun to make batch files so please...

in bin/sh need to split a vaiable on '_'.
Summary: in bin/sh script a variable passed contains data like xxxx_yyyyyy. I want to keep that variable and populate 2 other variables defined in the script,...

Pass variable FROM awk TO shell
Summary: Hi! I've got some piece of program that needs to use a AWK variable INTO SHELL command. Here it is: #Somewhere before, shell variable "linea" got som...

How do you echo a variable name to a file?
Summary: I am trying to make a batch that will automatically back up one of my save games by copying it to a new folder and copying it to a temp file every fiv...

Set variable from line in text file
Summary: How would I be able to set the first line in a text file as variable1 and the second line as a variable2 then the third line in a text file as variabl...

Batch Variable in Variable name...
Summary: I have a batch file in which I need to use a variable inside a variable's name. In case that doesn't make sense, here's an example: @echo off set Fir...

Paste Batch Command?
Summary: Hi all, I am afraid that I am very new to batch files and programming in general, and may be missing the obvious here, but anyway, here's my problem: ...

Using FOR to check for chars in variable
Summary: Hello, I need a command that will check if a variable's string already exists in another variable. @ECHO OFF :MR SET /A newMR=%random% FOR /F %%R IN (...

Rename Photos in BATCH from text file prefix
Summary: I am having difficulty figuring out the best way to rename my photos. So far I have the following code: @echo off :Rename Photos cls Echo Ex. photo959...

INI Value to Batch Value
Summary: Hello. I would like to pull the value from an INI file (which is a batch file) and then add a new line of text/command to this batch file. Example: co...

IF ERRORLEVEL exit if variable = none
Summary: Hello, I'm trying to set an errorlevel when none of the variable names above is selected, e.g.: @ECHO OFF :help ::help goto BG :error1 ECHO "%BG%" is ...

CMD batch variable cascade issue
Summary: I hope someone can help me with this, as I've been looking all over and cannot find a solution to what I'm sure is an easy problem! I have a batch fil...

12


Ask Question