Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sharepoint 1013 dir output

Posted on 2014-12-12
4
Medium Priority
?
136 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 1500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

730 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