TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
DOS Command (CMS) Create Folder Current Datetime and Move Files Shared Folder
Ashish Srivastava
May 23
2016
Code
1.6
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
@echo off
set
hh=%time:~-11,2%
set
/a hh=%hh%+100
set
hh=%hh:~1%
set
dateseed=%date:~10,4%%date:~4,2%%date:~7,2%_%hh%
%time:~3,2%%time:~6,2%
if
not exist "\\140.175.165.10\Sharing\Databasebackup\
%dateseed%
" mkdir "
\\140.175.165.10\Sharing
\Databasebackup\%dateseed%"
copy D:\HELLO "\\140.175.165.10\Sharing\Databasebackup\
%dateseed%"
DOS Command
CMS
Security