如果是这样,如何?如果没有,我正在考虑使用至少可以执行以下操作的密码管理器:
我知道 LastPass、1Password、Dashlane 等流行的软件......还没有研究所有细节,但我担心一些违规行为、一些重复行为和不可用时期。
多年前也曾在 Windows 上使用过 Roboform。我真的很喜欢它,因为它可以优雅地处理几乎任何类型的登录场景和表单......但那是那时。读过他们已经下山了。
因此,最终,我正在寻找个人/实践经验,以了解哪些易于使用且有能力。我需要管理数百个登录、表单等。
相关代码如下所示:
cd /d %~dp0
if exist filename.txt (
echo %date% %time% *** text... >> filename2.txt
echo ==============================
echo === text....... ===
echo === text....... ===
echo === text....... (text...) ===
echo === text (text...
echo === text...).
:loop
set /p "varx= text: "
if "%varx%" neq "xxxx" goto loop
... more script...
)
Run Code Online (Sandbox Code Playgroud)
到处寻找解决方案......
在这里指向 If 语句分组的方向: https: //www.petri.com/forums/forum/windows-scripting/general-scripting/57625-if-exists-file-was-unexpected-at-this-time -不可以
指出了 If 块中循环问题的方向,这里: (Windows 批处理)Goto inside if 块的行为非常奇怪 - 不去
被指出使用@setlocalenabledelayedexpansion或@setlocalenableextensions的方向(无法追踪到哪里) - 不行
尝试通过 set /p varfile="filename" 传递文件名,如果存在 %varfile% - …