User Tools

Site Tools


talk:userspace:local_user

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
talk:userspace:local_user [2015/06/08 16:55]
test
talk:userspace:local_user [2021/08/23 08:37] (current)
Line 16: Line 16:
   set monat=%date:~-7,2%& echo %date:~-7,2%|findstr "^0"&& set monat=%date:~-6,1%   set monat=%date:~-7,2%& echo %date:~-7,2%|findstr "^0"&& set monat=%date:~-6,1%
  
-Damit die Ausgabe von "echo" unterdrückt wird, kann man es nach " > nul" einbauen:+Damit die Ausgabe von "echo" unterdrückt wird, kann man noch " > nul" einbauen:
  
   set tag=%date:~-10,2%& echo %date:~-10,2%|findstr "^0" > nul && set tag=%date:~-9,1%   set tag=%date:~-10,2%& echo %date:~-10,2%|findstr "^0" > nul && set tag=%date:~-9,1%
   set monat=%date:~-7,2%& echo %date:~-7,2%|findstr "^0" > nul && set monat=%date:~-6,1%   set monat=%date:~-7,2%& echo %date:~-7,2%|findstr "^0" > nul && set monat=%date:~-6,1%
  
 +Mit einem Datum wie "8.6.2015" gab es bei "net user" keine Probleme.
  
  
talk/userspace/local_user.1433782501.txt.gz · Last modified: 2021/08/23 08:37 (external edit)