Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Renaming a Windows directory
13 views
Skip to first unread message
Dimitri Yioulos
unread,
Mar 8, 2016, 11:14:24 AM
3/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I need to preserve a Windows directory as "directory.bak". I was hoping this might work, but it doesn't:
- raw: c:\windows\system32\cmd.exe rename C:\directory C:\directory.bak
Is there a way to accomplish what I'm looking to do?
Thanks
Dimitri Yioulos
unread,
Mar 8, 2016, 11:23:33 AM
3/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I found the solution:
- raw: c:\windows\system32\cmd.exe /C rename C:\testdir testdir.bak
Reply all
Reply to author
Forward
0 new messages