Solved

Sharepoint 1013 dir output

Posted on 2014-12-12
4
135 Views
Last Modified: 2015-01-19
Hello,

Is there a way to get the DIR output on a SharePoint 2013 Web part?
I tried to use CMD to do a dir > c:\text.txt but did not work.

Thank you,
RS
0
Comment
Question by:Rad1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Expert Comment

by:Walter Curtis
ID: 40500527
To be honest, I don't understand what you are trying to do. If you would provide some more information it would be helpful.
0
 

Author Comment

by:Rad1
ID: 40500908
Hello,

Hope this clears out the confusion:
in MS DOS we can type Dir c:\ > c:\text.log and get the dir output inside the log.

I am looking for a similar way to get the dir of a SharePoint or in other way I want a text list of the folders I have in one of the SharePoint page.

DO I have to use PowerShell to get a list of the content of a SharePoint page? Is this the only way?

Thanks,
Rad
0
 
LVL 19

Accepted Solution

by:
Walter Curtis earned 500 total points
ID: 40510421
Keep in mind that SharePoint content is not stored in the servers file system, but is stored in a content database. PowerShell could be used to create a text based list of folders. If Dir should be used, you could connect to the SharePoint document library via a network drive with a drive letter, and the Dir would maybe work, never tried it or had a need to, but give it a try!

Hope that helps
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question