Solved

Sharepoint 1013 dir output

Posted on 2014-12-12
4
130 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
  • 2
4 Comments
 
LVL 15

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 15

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

My experience with Windows 10 over a one year period and suggestions for smooth operation
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now