Python Forum
Nested Subdirectory within current sub on shared network drive
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nested Subdirectory within current sub on shared network drive
#1
Would anyone happen to know how to create a sub directory within a current sub directory on a network drive? My folder is creating in the initial directory but won’t go further. I tried
date= Datetime.Now.str(‘%m-%d-%y’)
path = ‘U:\gebersolle\My Documents\New Placement\NEXT
mkdir(path, date)

It’s only letting me create a directory within gebersolle...I’m new at this but I’ve searched for hours and have found absolutely nothing on it!!
Reply


Messages In This Thread
Nested Subdirectory within current sub on shared network drive - by Agregware - Jun-18-2019, 02:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to get a removable disc type in drive Daring_T 12 1,286 Feb-11-2024, 08:55 AM
Last Post: Gribouillis
  open python files in other drive akbarza 1 712 Aug-24-2023, 01:23 PM
Last Post: deanhystad
  Integrating Google Drive in App Lahearle 0 479 Jul-19-2023, 05:51 PM
Last Post: Lahearle
  delete all files and subdirectory from a main folder mg24 7 1,638 Oct-28-2022, 07:55 AM
Last Post: ibreeden
  code to send attachments contained on the drive. stefanoste78 1 870 Oct-12-2022, 02:16 AM
Last Post: Larz60+
  access is denied error 5 for network drive mapping ? ahmedbarbary 2 1,822 Aug-17-2022, 10:09 PM
Last Post: ahmedbarbary
  Cant Access D: Drive kucingkembar 4 1,360 Jul-28-2022, 04:53 PM
Last Post: kucingkembar
  Calling exe on network drive GrahamL 4 2,562 Jan-21-2022, 12:01 PM
Last Post: GrahamL
  Failing to copy file from a network to a local drive tester_V 4 7,150 Jan-20-2021, 07:40 AM
Last Post: tester_V
  Shared reference of variables... Denial 1 1,432 Aug-29-2020, 01:52 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020