
kukris
Content Type
Profiles
Forums
Events
Posts posted by kukris
-
-
Hi,
I want to replace an expression in a file with another expression on a command line.
Example
prog.exe <string1> <string2> <filename>
Does anyone know such a tool?
0 -
@mazin
Thanks for your help that works great!
@Br4tt3
What's so funny about that name in Swedish? What does it sounds like?
0 -
I thought that codes only work in inf files, but not in ini files???
I'll try it anyway, thanks.
0 -
Hi,
I have a ini file with a hardcoded setup destination like path=c:\bla. Is it possible to use variables like %systemdrive% for ini files? Or can I update ini files via a batch file?
I would really appreciate a solution for that
0 -
Thank you all for the info
0 -
The following commands won't work
dir %userprofile%\recent\*.*
del %userprofile%\recent\*.*The following error is displayed
The system cannot find the path specified.
However when I use
cd %userprofile%\recent
it changes to my profile folder and in the subfolder recent where I can use the DEL command
My profile doesn't contain any special characters, just a dot in the profile name.
Has someone a solution for this?
0 -
Hi there,
I want to create a cascaded context menu in Windows Explorer (one entry that opens subkeys if you click on it).
I'm familiar how to create a normal context menu item via the registry (<filetype>\shell\<Task>\command).
For example I want to open a jpg file with several different programs, lets say with Program A and Program B.
I can create for each program an entry like jpegfile\shell\ProgA\command but then the entries are below each
other and not cascaded.
I know I can use Open with, but that is not what I want. I would like to create my own entries.
How can I do that.
0 -
Thanks, here is the respective registry key
Windows Registry Editor Version 5.00
;When taskbar grouping is enabled, this setting will prevent the buttons from collapsing
;if you don't have more than 99 windows of the same type opened
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"TaskbarGroupSize"=dword:000000630 -
Under Start-->Settings-->Taskbar and Start Menu I have Group similiar taskbar buttons enabled.
However when the taskbar gets to crowded, similiar taskbar buttons will be piled up and
a number appears.
Now you have to click the group and then again the correct window.
Is it possible to stop the buttons from piling up and still have the same buttons grouped?
0 -
Yeah thanks, that works.
0 -
@Andromeda43
The command start offers some options that are quite useful, especially /wait.
0 -
As Sonic has stated, using the incorrect syntax for the command has caused the problem
start "" "c:\my prog\prog.exe"
I have posted here however, not to affirm Sonics advice, more out of intrigue…
How did you get this to work?
start C:\"my prog"\prog.exeIt just works. According to Sonic, it shouldn't work, but it does. I also tried
start "Test" "c:\my prog\prog.exe"
That works, too. Just try it yourself.
0 -
Thanks Bezalel. I thought REG was only for adding registry entries. I will try that.
0 -
Thanks, but I can't it get to work. I checked the help and tried this:
shortcut -s -t D:\Progs\Test\test.exe -n Test -d h:\prog-w2k\system -i D:\Progs\Test\test.exe -x 0 -l test.log
I put shortcut.exe in c:\temp and execute it from there via a cmd file and get the following error:
Error: unable to find D:\Progs\Test\test.lnk
Are there maybe some examples or further documentation?
0 -
Thanks Delprat, that will do the trick.
0 -
Hello,
when I open Administrative Tools --> Services there are two tabs at the bottom
of the window Extended and Standard. I don't want the Extended tab, just the standard
view. But whenever I switch to Standard and close Services and reopen it, Extended is
selected. How can I change that?
0 -
Hello,
Is there a program / script or other method to save specific registry entries to a reg file.
For example I want to save the following program settings
[HKEY_LOCAL_MACHINE\SOFTWARE\Program1\Settings]
[HKEY_LOCAL_MACHINE\SOFTWARE\Program2\User]
[HKEY_LOCAL_MACHINE\SOFTWARE\Program3\Preferences]
and so on.
Now I have to go to each key and export each of them in a reg file.
Is there a way to give a program / script the registry entries and save them
as a reg-file (or multiples)?
Title edited -- Please, use [TAGS] in your topic's title.
--Sonic
0 -
Thanks egrath, that works.
0 -
Hello,
how can I create lnk files via script or command?
Say I want to create a lnk file which points to C:\Prog\Prog.exe.
Normally I have to do it manually by right clicking on Prog.exe and
select Create Shortcut.
1.) Can this be done by a script or command?
2.) Is it possible to use system variables like %systemdrive& instead of fixed paths?
0 -
Hello,
I want to execute programs from a batch file. Now there are programs
in folders with spaces. I tried this
start "c:\my prog\prog.exe"
but the start command doesn't like ". I also tried to replace the path
by a variable, but still no luck.
Has anyone a solution to this?
Title edited -- Please, use [TAGS] in your topic's title.
--Sonic
0 -
Thank you jaclaz,
I will take a look.
0 -
Hello,
I'm searching for a addin / script / software that can convert multiple Excel files (xls) to Text files (txt).
It should be freeware if possible.
0 -
Thank you alot.
That is exactly what I was looking for.
0 -
Hi everyone,
I would like to create several folders in a row like 01, 02, 03 ... n. The batch command should stop after creating folder n. It would be also nice if I could specify a prefix for the folders. Can some please help to create such a batch file?
Thanks in advance
Kukris
0
Replace string of file on command line
in Unattended Windows 2000/XP/2003
Posted
Thanks,
Gsar looks more easy, but I couldn't get it to work with search strings with a comma, but that is what I need.
It doesn't work for a string containing a comma and text, like 0,win. I tried to put it in quotes, but no luck.
Then I replaced it with ASCII or Hex-Code it just displays one match, but there are much more.
Does anybody know a solution for that or another tool?