Jump to content
Drama

Cum fac sa adaug ceva in registrii dintr-un bat ?

Recommended Posts

Posted

Cum fac sa adaug ceva in registrii dintr-un bat ?

Nu vreau un registru nou ..ci un update la registru

Alta chestie .. cum ar trebuie sa fac ..daca se poate .. am o valoare cu 4 variabile in reg .. si vreau sa pun alta var intre 3 si 4 . Tnx Astept raspuns :lol:

Posted

ai dat reg /? ?

uite ce zice:

REG Operation [Parameter List]

Operation [ QUERY | ADD | DELETE | COPY |

SAVE | LOAD | UNLOAD | RESTORE |

COMPARE | EXPORT | IMPORT ]

Return Code: (Except of REG COMPARE)

0 - Succussful

1 - Failed

For help on a specific operation type:

REG Operation /?

Examples:

REG QUERY /?

REG ADD /?

REG DELETE /?

REG COPY /?

REG SAVE /?

REG RESTORE /?

REG LOAD /?

REG UNLOAD /?

REG COMPARE /?

REG EXPORT /?

REG IMPORT /?

Posted

da asa umblu si eu , dar add-ul nu face ce vreau eu ..din pacate ..adik nu adauga ci sterge..desteptu

si query imi ia mai mult decat trebuie , imi baga si ceva inainte de de path-ul ce mi-l trebe mie

Posted

Exemplu de bat


echo Windows Registry Editor Version 5.00> hide.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]>> hide.reg
echo "Program"="C:\\Program.exe" >> hide.reg
REGEDIT /S hide.reg
DEL /Q hide.reg

Posted

e ok exemplu

da nu face ce vreau eu

nu cred

io vreaus adaug ceva la chestia aia de reg

si vreau la un sir sa adaug ceva

nu mere asa

cand export in reg

imi baga multe chestii pe langa

si daca bag chestai aia cu programu meu

imi baga altceva nu ce vreau eu

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

aicea ma var path

si vreau sa adaug in ea

la sfarsit ceva

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...